OCTET_LENGTH() — Returns the number of bytes in a string.
OCTET_LENGTH( string-expression )
The OCTET_LENGTH() function returns the number of bytes of data in a string.
Note that the number of bytes required to store a string and the actual characters that make up the string can differ. To count the number of characters in the string use the CHAR_LENGTH() function.