Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
检索列元数据信息并使用有关列的信息填充 a_sqlany_column_info 结构。
public sacapi_bool sqlany_get_column_info( a_sqlany_stmt * sqlany_stmt, sacapi_u32 col_index, a_sqlany_column_info * buffer )
sqlany_stmt 由 sqlany_prepare() 或 sqlany_execute_direct() 创建的语句对象。
col_index 列编号在 0 到 sqlany_num_cols() - 1 之间。
buffer 将在其中填充列信息的列信息结构。
成功时为 1,如果列索引超出范围,或者如果语句未返回结果集,则为 0。