Returns column metadata information.
 Syntax
 Syntaxpublic typedef struct a_sqlany_column_info Members
 Members| Member name | Type | Description | 
|---|---|---|
| max_size | size_t | The maximum size a data value in this column can take. | 
| name | char * | The name of the column (null-terminated). The string can be referenced as long as the result set object is not freed. | 
| native_type | a_sqlany_native_type | The native type of the column in the database. | 
| nullable | sacapi_bool | Indicates whether a value in the column can be null. | 
| precision | unsigned short | The precision. | 
| scale | unsigned short | The scale. | 
| type | a_sqlany_data_type | The column data type. | 
 Remarks
 Remarkssqlany_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
|  | Discuss this page in DocCommentXchange.
                   | Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |