scalar
REPEAT
Repeats text n times for a nonnegative count. Example target: PostgreSQL 17. No tables or extensions required.
Formal Syntax & Structure
sql syntaxsql
REPEAT(text,n)Working Example
Example Snippetsql
SELECT repeat('ab',3);Repeats text n times for a nonnegative count. Example target: PostgreSQL 17. No tables or extensions required.
REPEAT(text,n)SELECT repeat('ab',3);