BIT_LENGTH

Returns the length, in bits, of a value. The argument must be a string expression. The length of the string includes blanks. The result of the function is a large integer.

Example:

Assume table T1 has a GRAPHIC(10) column.

  SELECT BIT_LENGTH(C1) FROM T1

The result is 160.