length
Descriptionβ
This function returns the length of a string (in bytes).
Syntaxβ
INT length(VARCHAR str)
Examplesβ
MySQL > select length("abc");
+---------------+
| length('abc') |
+---------------+
| 3 |
+---------------+
keywordβ
LENGTH