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

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite ODBC API reference

 

SQLGetData function

Retrieves data for a single column in the result set, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLGetData (
SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber,
SQLSMALLINT TargetType,
SQLPOINTER TargetValue,
SQLLEN BufferLength,
SQLLEN * StrLen_or_Ind );
Parameters
  • StatementHandle   A statement handle.

  • ColumnNumber   The number of the column in the result set to bind.

  • TargetType   The output handle.

  • TargetValue   A pointer to the data buffer to bind to the column.

  • BufferLength   The length of the TargetValue buffer in bytes.

  • StrLen_or_Ind   A pointer to the length or indicator buffer to bind to the column.

Remarks

SQLGetData is typically used to retrieve variable-length data in parts.