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