Retrieves information about the data that was fetched by the last fetch operation.
Syntax
public
sacapi_bool
sqlany_get_data_info
(
a_sqlany_stmt * sqlany_stmt,
sacapi_u32
col_index,
a_sqlany_data_info * buffer)
Parameters
-
sqlany_stmt –
A statement object executed by sqlany_execute() or sqlany_execute_direct().
-
col_index –
The column number between 0 and sqlany_num_cols() - 1.
-
buffer –
A data info buffer to be filled with the metadata about the data fetched.
Returns
1 on success, and 0 on failure. Failure is returned when any of the supplied parameters are invalid.