Returns the number of bytes in a string.
BYTE_LENGTH( string-expression )
string-expression The string whose length is to be calculated.
Trailing white space characters in the string-expression 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 may differ from the number of characters returned by CHAR_LENGTH.
This function supports NCHAR inputs and/or outputs.
SQL/2003 Vendor extension.
The following statement returns the value 12.
SELECT BYTE_LENGTH( 'Test Message' );
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|