共用方式為


last Method (SQLServerResultSet)

Moves the cursor to the last row in this SQLServerResultSet object.

public boolean last()

傳回值

true if the new current row is valid. false if there are no more rows to process.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members