Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.5 KB

getfetchdirection-method-sqlserverresultset.md

File metadata and controls

41 lines (30 loc) · 1.5 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getFetchDirection Method (SQLServerResultSet)
getFetchDirection Method (SQLServerResultSet)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerResultSet.getFetchDirection
Assembly

getFetchDirection Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves the fetch direction for this SQLServerResultSet object.

Syntax

  
public int getFetchDirection()  

Return Value

An int that indicates the current fetch direction.

Exceptions

SQLServerException

Remarks

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

This method returns FETCH_FORWARD for forward-only cursors, the last setting made by a call to the setFetchDirection method for other cursor types, and will return FETCH_UNKNOWN these cursor types if the setFetchDirection method has never been called.

See Also

SQLServerResultSet Members
SQLServerResultSet Class