Syntax
CHARACTER_LENGTH(str)
Purpose
CHARACTER_LENGTH() is a synonym for CHAR_LENGTH().
Examples
obclient> SELECT CHARACTER_LENGTH('OceanBase'), LENGTH('OceanBase'),CHARACTER_LENGTH('hello');
+-------------------------------+---------------------+---------------------------+
| CHARACTER_LENGTH('OceanBase') | LENGTH('OceanBase') | CHARACTER_LENGTH('hello') |
+-------------------------------+---------------------+---------------------------+
| 9 | 9 | 5 |
+-------------------------------+---------------------+---------------------------+
1 row in set