length
この関数は文字列の長さをバイト単位で返します。
構文
INT length(VARCHAR str)
例
MySQL > select length("abc");
+---------------+
| length('abc') |
+---------------+
| 3 |
+---------------+
キーワード
LENGTH
AI generated answers are based on docs and other sources. Please test answers in non-production environments.