Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite ODBC API reference

 

SQLFetchScroll function

Fetches the specified row from the result set and returns data for all bound columns, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLFetchScroll (
SQLHSTMT StatementHandle,
SQLSMALLINT FetchOrientation,
SQLLEN FetchOffset );
Parameters
  • StatementHandle   A statement handle.

  • FetchOrientation   The type of fetch.

  • FetchOffset   The number of the row to fetch. The interpretation depends on the value of FetchOrientation.

Remarks

Before fetching rows, you must have bound the columns in the result set to buffers using SQLBindCol. SQLFetchScroll is for use in those cases where the more straightforward SQLFetch is not appropriate.

See also