This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20
BIT_LENGTH

BIT_LENGTH  


 

 

Command BIT_LENGTHBIT_LENGTH (arithmetic_expression)

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

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20)