Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns column metadata information.
public typedef struct a_sqlany_column_info
size_t
The maximum size a data value in this column can take.
char *
The name of the column (null-terminated).
The string can be referenced as long as the result set object is not freed.
a_sqlany_native_type
The native type of the column in the database.
sacapi_bool
Indicates whether a value in the column can be null.
unsigned short
The precision.
The scale.
a_sqlany_data_type
The column data type.
sqlany_get_column_info() can be used to populate this structure.
To view an example of the a_sqlany_column_info structure in use, see the following sample file in the sdk\dbcapi\examples directory of your SQL Anywhere installation.
dbcapi_isql.cpp