Returns the number of bytes in a string.
Parameters |
Description |
---|---|
string-expression |
The string whose length is to be calculated. |
INT
Trailing white space characters are included in the length returned.
The return value of a NULL string is NULL.
If the string is in a multibyte character set, the BYTE_LENGTH value differs from the number of characters returned by CHAR_LENGTH.
If you are licensed to use the Unstructured Data Analytics functionality, you can use this function with large object data.
See Unstructured Data Analytics in Sybase IQ > Function Support.