メインコンテンツまでスキップ
バージョン: 3.5

length

この関数は文字列の長さをバイト単位で返します。

構文

INT length(VARCHAR str)

MySQL > select length("abc");
+---------------+
| length('abc') |
+---------------+
| 3 |
+---------------+

キーワード

LENGTH

StarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.