setFetchDirection Method (SQLServerStatement)

Gives Microsoft SQL Server JDBC Driver 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.

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

Reference

SQLServerStatement Class

Concepts

SQLServerStatement Methods
SQLServerStatement Members