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.