sqlany_num_cols function

Returns number of columns in the result set.

Syntax
sacapi_i32 sqlany_num_cols( a_sqlany_stmt * stmt )
Parameters
  • stmt   A statement object created by sqlany_prepare or sqlany_execute_direct.

Returns

The number of columns in the result set, or -1 on a failure.

See also