setFetchDirection Method (SQLServerStatement)

Download JDBC driver

Gives Microsoft JDBC Driver for SQL Server a hint as to the direction in which result set rows should be processed.

Note

The JDBC driver currently ignores the hint that is given by this method.

Syntax

  
public final void setFetchDirection(int nDir)  

Parameters

nDir

An int that indicates the row processing direction, which can be one of the following values:

FETCH_FORWARD

FETCH_REVERSE

FETCH_UNKNOWN

Exceptions

SQLServerException

Remarks

This setFetchDirection method is specified by the setFetchDirection method in the java.sql.Statement interface.

See Also

SQLServerStatement Members
SQLServerStatement Class