BIT_LENGTH(string_exp)

Returns the length in bits of the string expression.

 

Example:

SELECT BIT_LENGTH('ABCDEFG') returns 56 (length in bits of a 7-character string expression)