version 11
BIT_LENGTH (arithmetic_expression)
Description
The BIT_LENGTH function returns the length of the arithmetic_expression in bits.
Example
This example returns 8:
SELECT BIT_LENGTH( '01101011' );
See Also
OCTET_LENGTH.