Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns a string consisting of n
spaces.
space(n)
n
: AnINTEGER
expression that evaluates to a numeric.
A STRING
.
If n
is less than or equal to 0 an empty string.
> SELECT concat('1', space(2), '1');
1 1