共用方式為


getFetchDirection Method (SQLServerStatement)

Retrieves the direction for fetching rows from database tables that is the default for result sets that are generated from this SQLServerStatement object.

注意

This method is not currently implemented by Microsoft SQL Server 2005 JDBC Driver. Therefore, it will always return FETCH_UNKNOWN.

public final int getFetchDirection()

傳回值

An int that indicates the fetch direction that is specified by the setFetchDirection method.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerStatement Class

概念

SQLServerStatement Methods
SQLServerStatement Members