Used to return information about a column value in a result set.
typedef struct a_sqlany_data_info
{
a_sqlany_data_type type;
sacapi_bool is_null;
size_t data_size;
} a_sqlany_data_info;
Name | Type | Description |
---|---|---|
data_size | size_t | The total number of bytes available to be fetched. This field is only valid after a successful fetch operation. |
is_null | sacapi_bool | Indicates whether the last fetched data is NULL. This field is only valid after a successful fetch operation. |
type | a_sqlany_data_type | Type of the data in the column. |
You can use sqlany_get_data_info to populate this structure with information about what was last retrieved by a fetch operation.
To view an example of the a_sqlany_data_info structure in use, see:
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |