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 » 库函数参考

 

alloc_sqlda 函数

原型
struct sqlda * alloc_sqlda( unsigned numvar );
说明

分配一个具有 numvar 个变量描述符的 SQLDA。将该 SQLDA 的 sqln 字段初始化为 numvar。为指示符变量分配空间,将指示符变量设置为指向此空间,并将指示符值初始化为零。如果无法分配内存,则返回空指针。建议您使用此函数代替 alloc_sqlda_noind 函数。