共用方式為


SQLFetchScroll

SQLFetchScroll returns one row set of data to the application. The size of the row set is set using SQLSetStmtAttr. The SQL Native Client ODBC driver supports all defined fetch instructions (for example, SQL_FETCH_RELATIVE) with the following limitations:

  • If a forward-only cursor is defined for the statement, SQL_FETCH_NEXT is required and attempts to fetch in any other fashion will result in an error return.
  • SQL_FETCH_BOOKMARK is supported for static and keyset-driven cursors only.

請參閱

概念

ODBC API Implementation Details

其他資源

SQLFetchScroll Function

說明及資訊

取得 SQL Server 2005 協助