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) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere C API reference » sacapi.h

 

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