Builds a string by repeating the input for the specified number of times
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.
SELECT 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.