DB2 Version 10.1 for Linux, UNIX, and Windows

Declaration of graphic host variables in C and C++ embedded SQL applications

To handle graphic data in C or C++ applications, you must use host variables based on either the wchar_t C or C++ data type or the sqldbchar data type.

You can assign graphic data host variables to columns of a table that are GRAPHIC, VARGRAPHIC, or DBCLOB. For example, you can update or select DBCS data from GRAPHIC or VARGRAPHIC columns of a table.

There are three valid forms for a graphic host variable: