Open Client supports text datatypes, CS_TEXT and CS_UNITEXT, as well as an image datatype, CS_IMAGE.
CS_TEXT corresponds to the Adaptive Server datatype text, which describes a variable-length column containing up to 2,147,483,647 bytes of printable character data. CS_TEXT is defined as unsigned character:
typedef unsigned char CS_TEXT;
CS_UNITEXT corresponds to the Adaptive Server unitext variable-length datatype. CS_UNITEXT exhibits identical syntax and semantics to CS_TEXT. The difference is that CS_UNITEXT encodes character data in the 2-byte Unicode UTF-16 format. CS_UNITEXT can be used anywhere CS_TEXT is used. The maximum length of the CS_UNITEXT string parameter is half of the maximum length of CS_TEXT.
CS_UNITEXT is defined as follows:
typedef unsigned short CS_UNITEXT;
CS_IMAGE corresponds to the Adaptive Server datatype image, which describes a variable-length column containing up to 2,147,483,647 bytes of binary data. CS_IMAGE is defined as unsigned character:
typedef unsigned char CS_IMAGE;