getStatement Method (SQLServerResultSet)

Download JDBC driver

Retrieves the SQLServerStatement object that produced this SQLServerResultSet object.

Syntax

  
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

SQLServerResultSet Members
SQLServerResultSet Class