sqlany_get_column_info function

Adds column information to the a_sqlany_column_info structure.

Syntax
sacapi_bool sqlany_get_column_info( a_sqlany_stmt * stmt, sacapi_u32 col_index,
  a_sqlany_column_info * info )
Parameters
  • stmt   A statement object created by sqlany_prepare or sqlany_execute_direct.

  • col_index   The column number between 0 and sqlany_num_cols - 1.

  • info   A column info structure to be filled with column information.

Returns

1 on success or 0 if the column index is out of range, or if the statement does not return a result set.

See also