共用方式為


setFetchDirection Method (SQLServerStatement)

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

注意

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

public final void setFetchDirection(int nDir)

參數

nDir

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

FETCH_FORWARD

FETCH_REVERSE

FETCH_UNKNOWN

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerStatement Class

概念

SQLServerStatement Methods
SQLServerStatement Members