Retrieves column metadata information and fills the a_sqlany_column_info structure with information about the column.
Syntax
public
sacapi_bool
sqlany_get_column_info
(
a_sqlany_stmt * sqlany_stmt,
sacapi_u32
col_index,
a_sqlany_column_info * buffer)
Parameters
-
sqlany_stmt –
A statement object created by sqlany_prepare() or sqlany_execute_direct().
-
col_index –
The column number between 0 and sqlany_num_cols() - 1.
-
buffer –
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.