6.4.3 Type Codes

Table of Contents Previous Next


6 Database Utilities : 6.4 ECPGPlus : 6.4.3 Type Codes

The following table contains the type codes for external data types. An external data type is used to indicate the type of a C host variable. When an application binds a value to a parameter or binds a buffer to a SELECT-list item, the type code in the corresponding SQLDA descriptor (descriptor->T[column]) should be set to one of the following values:
The following table contains the type codes for internal data types. An internal type code is used to indicate the type of a value as it resides in the database. The DESCRIBE SELECT LIST statement populates the data type array (descriptor->T[column]) using the following values.

6 Database Utilities : 6.4 ECPGPlus : 6.4.3 Type Codes

Table of Contents Previous Next