Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 04, 2024
Send us feedback
space
Applies to: Databricks SQL Databricks Runtime
Returns a string consisting of n spaces.
n
space(n)
n: An INTEGER expression that evaluates to a numeric.
INTEGER
A STRING.
STRING
If n is less than or equal to 0 an empty string.
> SELECT concat('1', space(2), '1'); 1 1
repeat function