Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.11 KB

File metadata and controls

39 lines (29 loc) · 1.11 KB
title first Method (SQLServerResultSet)
description first Method (SQLServerResultSet)
author David-Engel
ms.author davidengel
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