Skip to main content

SPACE

Returns a string consisting of N blank space characters.

Syntax

SPACE(<n>);

Arguments

ArgumentsDescription
<n>The number of spaces

Return Type

String data type value.

Examples

SELECT SPACE(20)
+----------------------+
| SPACE(20) |
+----------------------+
| |
+----------------------+
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today