SQLNumResultCols function

Returns the number of columns in a result set, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLNumResultCols (
SQLHSTMT StatementHandle,
SQLSMALLINT * ColumnCount );
Parameters
  • StatementHandle   A statement handle.

  • ColumnCount   A pointer to a buffer in which to return the total number of columns in the result set.