DB2 Version 9.7 for Linux, UNIX, and Windows

Data types that map to SQL data types in embedded SQL applications

To exchange data between an application and database, use the correct data type mappings for the variables used. When the precompiler finds a host variable declaration, it determines the appropriate SQL type value. With each host language there are special mapping rules which must be adhered to, unique only to that specific language.