Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 04, 2024
Send us feedback
repeat
Applies to: Databricks SQL Databricks Runtime
Returns the string that repeats expr n times.
expr
n
repeat(expr, n)
expr: A STRING expression.
STRING
n: An INTEGER expression.
INTEGER
A STRING.
If n is less than 1, an empty string.
> SELECT repeat('123', 2); 123123
space function