LENGTH
length​
Description​
Syntax​
INT length (VARCHAR str)
Returns the length of the string in byte size.
example​
mysql> select length("abc");
+---------------+
| length('abc') |
+---------------+
| 3 |
+---------------+
mysql> select length("ä¸å›½");
+------------------+
| length('ä¸å›½') |
+------------------+
| 6 |
+------------------+
keywords​
LENGTH