SQL/MX 3.1 Reference Manual (H06.23+, J06.12+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Release 3.1 Reference Manual663850-001
9-122
Examples of OCTET_LENGTH
Examples of OCTET_LENGTH
If a character string is stored as two bytes for each character, this function returns
the value 12. Otherwise, the function returns 6:
OCTET_LENGTH ('Robert')