Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere C API reference » sacapi.h

 

sqlany_get_data_info function

Retrieves information about the data that was fetched by the last fetch operation.

Syntax
sacapi_bool sqlany_get_data_info( a_sqlany_stmt * stmt, sacapi_u32 col_index,
  a_sqlany_data_info *  info )
Parameters
  • stmt   A statement object executed by sqlany_execute or sqlany_execute_direct.

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

  • info   A data info buffer to be filled with the metadata about the data fetched.

Returns

1 on success, and 0 on failure. If any of the supplied parameters is invalid, the sqlany_get_data_info function fails.

See also