Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
struct sqlda * alloc_sqlda( unsigned numvar );
分配一个具有 numvar 个变量描述符的 SQLDA。将该 SQLDA 的 sqln 字段初始化为 numvar。为指示符变量分配空间,将指示符变量设置为指向此空间,并将指示符值初始化为零。如果无法分配内存,则返回空指针。建议您使用此函数代替 alloc_sqlda_noind 函数。