Share via


setFetchDirection Method (SQLServerStatement)

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

Hinweis

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

public final void setFetchDirection(int nDir)

Parameter

nDir

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

FETCH_FORWARD

FETCH_REVERSE

FETCH_UNKNOWN

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Referenz

SQLServerStatement Class

Konzepte

SQLServerStatement Methods
SQLServerStatement Members