This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com
Home
The BIT_LENGTH function returns the length of the arithmetic_expression in bits.
This example returns 8:
SELECT BIT_LENGTH( '01101011' );
OCTET_LENGTH
Product: 4D Theme: Functions
4D SQL Reference ( 4D v20 R8)