Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回列元数据信息。
public struct a_sqlany_column_info
size_t
此列中的数据值可以取到的最大大小。
char *
列的名称(以空值终止)。
只要结果集对象未释放,即可引用该字符串。
a_sqlany_native_type
数据库中列的本地类型。
sacapi_bool
指示列中的值可否为空。
unsigned short
精度。
小数位数。
a_sqlany_data_type
列数据类型。
sqlany_get_column_info() 可用来填充此结构。
要查看使用 a_sqlany_column_info 结构的示例,请参见dbcapi_isql.cpp。