Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query
optimization, and usability that you won’t want to miss.
Returns the Unicode character length of the given string.
CHARACTER_LENGTH (str)
CHAR_LENGTH (str)
Integer
SELECT CHARACTER_LENGTH('olé'), LENGTH('olé');
+--------------------------+----------------+
| CHARACTER_LENGTH('olé') | LENGTH('olé') |
+--------------------------+----------------+
| 3 | 4 |
+--------------------------+----------------+