## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> REPEAT[REPEAT]:::quoted REPEAT --> End((END)) ``` ## Purpose The `REPEAT` SQL function gets a concatenation of the text by a number of times. Parameters: - Text (`varchar2`): text to repeat. - Times (`int32`): number of time to repeat the text. Returns: the text repeated a number of times. ## Examples The following example repeats `abc` two times: ```sql select repeat('abc', 2) ------------------- abcabc ``` The following example repeats the number 0.5 five times: ```sql select repeat(0.5, 5) ------------------- 0.50.50.50.50.5 ```