Share via


getGeneratedKeys Method (SQLServerStatement)

Retrieves any auto-generated keys that are created as a result of running this SQLServerStatement object.

public final java.sql.ResultSet getGeneratedKeys()

Return Value

A ResultSet object.

Exceptions

SQLServerException

Remarks

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.

See Also

Reference

SQLServerStatement Class

Concepts

SQLServerStatement Methods
SQLServerStatement Members