Contents Index The SQLDA header file SQLDA host variable descriptions

ASA Programming Guide
  Embedded SQL Programming
    The SQL descriptor area (SQLDA)

SQLDA fields


The SQLDA fields have the following meanings:

Field Description
sqldaid An 8-byte character field that contains the string SQLDA as an identification of the SQLDA structure. This field helps in debugging when you are looking at memory contents.
sqldabc A long integer containing the length of the SQLDA structure.
sqln The number of variable descriptors in the sqlvar array.
sqld The number of variable descriptors which are valid (contain information describing a host variable). This field is set by the DESCRIBE statement and sometimes by the programmer when supplying data to the database server.
sqlvar An array of descriptors of type struct sqlvar, each describing a host variable.

Contents Index The SQLDA header file SQLDA host variable descriptions