Reference Guide > TDV Support for SQL Functions > Character Functions > BIT_LENGTH
 
BIT_LENGTH
Returns the length of the given string in bits.
Syntax
BIT_LENGTH (str1)
Example
SELECT BIT_LENGTH('my text')
The above query returns:
BIT_LENGTH(‘my text’)
---------------------
56