OCTET_LENGTH

4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next

version 11


OCTET_LENGTH (arithmetic_expression)

Description

The OCTET_LENGTH function returns the number of bytes of the arithmetic_expression, including any trailing whitespace.

Example

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

See Also

BIT_LENGTH.


4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next