Other C data types in DB2 UDB CLI functions

 

As well as the data types that map to SQL data types, there are also C symbolic types used for other function arguments, such as pointers and handles.

Table 1. Generic data types and actual C data types
Symbolic type Actual C type Typical usage
SQLHDBC long int Handle referencing database connection information.
SQLHENV long int Handle referencing environment information.
SQLHSTMT long int Handle referencing statement information.
SQLPOINTER void * Pointers to storage for data and parameters.
SQLRETURN long int Return code from DB2® UDB CLI functions.

 

Parent topic:

Data types and data conversion in DB2 UDB CLI functions