Contents Index Library function reference alloc_sqlda_noind function

ASA Programming Guide
  Embedded SQL Programming
    Library function reference

alloc_sqlda function


Prototype 

SQLDA *alloc_sqlda( unsigned numvar );

Description 

Allocates a SQLDA with descriptors for numvar variables. The sqln field of the SQLDA is initialized to numvar. Space is allocated for the indicator variables, the indicator pointers are set to point to this space, and the indicator value is initialized to zero. A null pointer is returned if memory cannot be allocated. It is recommended that you use this function instead of alloc_sqlda_noind function.


Contents Index Library function reference alloc_sqlda_noind function