| title | getGeneratedKeys Method (SQLServerStatement) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | a3325950-0e81-4ae8-aa0c-e1f6d371adcd | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Retrieves any auto-generated keys that are created as a result of running this SQLServerStatement object.
public final java.sql.ResultSet getGeneratedKeys()
A ResultSet object.
This getGeneratedKeys method is specified by the getGeneratedKeys method in the java.sql.Statement interface.
For more information about how to use this method, see Using Auto Generated Keys.