getStatement Method (SQLServerResultSet)
SQL Server 2008
Retrieves the SQLServerStatement object that produced this SQLServerResultSet object.
public java.sql.Statement getStatement()
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.