Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.15 KB

File metadata and controls

40 lines (30 loc) · 1.15 KB
title first Method (SQLServerResultSet)
description first Method (SQLServerResultSet)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSet.first
apitype Assembly

first Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public boolean first()  

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerResultSet Members
SQLServerResultSet Class