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 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere 嵌入式 SQL » 库函数参考

 

fill_sqlda 函数

原型
struct sqlda * fill_sqlda( struct sqlda * sqlda );
说明

为在 sqlda 的每个描述符中说明的每个变量分配空间,并将此内存的地址指派给对应描述符的 sqldata 字段。为描述符中指明的数据库类型和长度分配足够的空间。如果成功则返回 sqlda;如果没有足够的可用内存则返回空指针。

SQLDA 应使用 free_filled_sqlda 函数释放。