| 4D v15OCTET_LENGTH | ||||||||||||||
| 
 | 
    4D v15
 OCTET_LENGTH 
         | |||||||||||||
|  | ||
The OCTET_LENGTH function returns the number of bytes of the arithmetic_expression, including any trailing whitespace.
This example returns the number of octets for a column comprised of binary data:
SELECT OCTET_LENGTH (MyBinary_col)
FROM MyTable
WHERE MyBinary_col = '93FB';
` returns 2
	Product:  4D
	Theme:  Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	4D SQL Reference ( 4D v15)
	
	
	
	
	
 Add a comment
Add a comment