BIT_LENGTH
BIT_LENGTH(string)
Parameters
string
Description
Return the number of bits in a string. This method returns a long. For BLOB, CLOB, BYTES and JAVA_OBJECT, the precision is used. Each character needs 16 bits.
Example
select BIT_LENGTH(name) FROM Players;
Updated about 5 years ago