October 23rd, 2008

GRAPHIC(length) Data

Posted by admin in F. Data Types

In DB2 the GRAPHIC data type can have up to 127 characters of 16-bit Double Byte Character Set data. With DBCS, each 2 bytes of data represents a graphic character. This data type is rarely used. Consult your RDBMS systems manual for further details.

 

Example:    COL1 GRAPHIC(50)

COL1 has 100 bytes of 50 double byte characters.

Comments are closed.

Sorry, the comment form is closed at this time.