OCTET_LENGTH Function

The OCTET_LENGTH returns the number of bytes in a character column, including any trailing blank spaces. See also the HCL® Informix® GLS User's Guide.