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


a_sqlany_data_value struct

Used to return a description of the attributes of a data value.

typedef struct a_sqlany_data_value
    char * 		buffer;
    size_t		buffer_size;
    size_t *		length;
    a_sqlany_data_type	type;
    sacapi_bool *	is_null;
} a_sqlany_data_value;
Name Type Description
buffer char * Pointer to user supplied buffer of data.
buffer_size size_t The size of the buffer.
is_null sacapi_bool * Pointer to an indicator whether the last fetched data is NULL.
length size_t * Pointer to the number of valid bytes in the buffer. Must be less than buffer_size.
type a_sqlany_data_type The type of the data.

To view examples of the a_sqlany_data_value structure in use, see: