Product Solutions Support
Try MemSQL

CHARACTER_LENGTH

Returns the Unicode character length of the given string.

CHARACTER_LENGTH (str)
CHAR_LENGTH (str)

Arguments

Return Type

Integer

Examples

memsql> select character_length('olé'), length('olé');
+--------------------------+----------------+
| character_length('olé')  | length('olé')  |
+--------------------------+----------------+
|                        3 |              4 |
+--------------------------+----------------+
Was this article useful?