共用方式為


first Method (SQLServerResultSet)

Moves the cursor to the first row of this SQLServerResultSet object.

public boolean first()

傳回值

true if the cursor is moved to the first row. Otherwise, false.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members