repeat()
Repeats the string count number of times
Reference: DuckDB 1.3.2
Arguments & returns
4 overloadsrepeat(string, count)
Scalar
repeat(col0, col1)
Table
| Overload link | col0 | col1 |
Returns |
|---|---|---|---|
| #04 | ANY | BIGINT |
TABLE |
Example
1 more ↓Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.
More examples
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.
In other engines
Snowflakespace()
SELECT SPACE(5)
SELECT REPEAT(' ', CAST(5 AS BIGINT))