Retrieves the SQLServerStatement object that produced this SQLServerResultSet object.

public java.sql.Statement getStatement()

Return Value

A SQLServerStatement object.

Exceptions

SQLServerException

Remarks

This getStatement method is specified by the getStatement method in the java.sql.ResultSet interface.

If the result set was generated some other way, such as by a SQLServerDatabaseMetaData method, this method returns null.

See Also