Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.23 KB

File metadata and controls

44 lines (34 loc) · 1.23 KB
title first Method (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSet.first
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 67ed9447-7b10-4c87-98e7-f4c2e2470b3a
author David-Engel
ms.author v-daenge

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