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

space

指定された数のスペースを含む文字列を返します。

Syntax​

space(x);

Parameters​

x: 返すスペースの数。サポートされているデータ型は INT です。

Return value​

VARCHAR 型の値を返します。

Examples​

mysql> select space(6);
+----------+
| space(6) |
+----------+
| |
+----------+
1 row in set (0.00 sec)

Keywords​

SPACE

Rocky the happy otterStarRocks Assistant

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