Freigeben über


isFirst Method (SQLServerResultSet)

Retrieves whether the cursor is on the first row of this SQLServerResultSet object.

public boolean isFirst()

Rückgabewert

true if the cursor is on the first row. false if the cursor is at any other position or if the result set contains no rows.

Ausnahmen

SQLServerException

Hinweise

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

If this method is used with forward and dynamic cursors, an exception is thrown.

Siehe auch

Referenz

SQLServerResultSet Class

Konzepte

SQLServerResultSet Methods
SQLServerResultSet Members