Categories: String
REPEAT
Builds a string by repeating the input for the specified number of times
Syntax
REPEAT(expression varchar, nTimes int32) → varchar
- expression: The input string from which the output string is built.
- nTimes: The number of times the input expression should be repeated.
Examples
REPEAT exampleSELECT REPEAT('abc', 3)
-- abcabcabc
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.