space
返回由指定数量的空格组成的字符串。
语法
space(x);
参数说明
x: 支持的数据类型为 INT。
返回值说明
返回值的数据类型为 VARCHAR。
示例
mysql> select space(6);
+----------+
| space(6) |
+----------+
| |
+----------+
1 row in set (0.00 sec)
AI generated answers are based on docs and other sources. Please test answers in non-production environments.