This chapter provides an overview of the data types that the DataBlade API supports. It also describes DataBlade API support for the following types of data:
For references to discussions of different SQL data types in this manual, see Table 5.
Table 4 lists the correspondences between SQL and DataBlade API data types. To declare a variable for an SQL data type, use the appropriate DataBlade API predefined data type or structure for the variable. The mi.h header file includes the header files for the definitions of all DataBlade API data types. Include mi.h in all DataBlade API modules that use DataBlade API data types.
The DataBlade API represents the SQL data type of a column value with the following data type structures:
Type descriptors and type identifiers do not have an associated memory duration. The DataBlade API allocates them from a special data type cache.