IBM Books

LOB unit

Use this box to specify a multiplier for the length of columns of data type BLOB, CLOB, or DBCLOB. If you specify a LOB unit of:

Bytes
The maximum length is the value specified in the Length box. The maximum value of Length is 2147483647 for BLOB or CLOB data. For DBCLOB data, the maximum value is 1073741823 because a DBCLOB string is in double-byte characters.

Kbytes
The maximum length is 1024 times the value specified in the Length box. The maximum value of Length is 2097152 for BLOB or CLOB data. For DBCLOB data, the maximum value is 1048576 because a DBCLOB string is in double-byte characters.

Mbytes
The maximum length is 1048576 times the value specified in the Length box. The maximum value of Length is 2048 for BLOB or CLOB data. For DBCLOB data, the maximum value is 1024 because a DBCLOB string is in double-byte characters.

Gbytes
The maximum length is 1073741824 times the value specified in the Length box. The maximum value of Length is 2 for BLOB or CLOB data. For DBCLOB data, the maximum value is 1 because a DBCLOB string is in double-byte characters.

This box is available only if you specified BLOB, CLOB, or DBCLOB in the Data type box.

[ Top of Page | Table of Contents | Glossary | Index ]

[ DB2 List of Books | Search the DB2 Books ]