Example
Repeat a string:
SELECT REPLICATE('SQL Tutorial', 5);
Definition and Usage
The REPLICATE() function repeats a string a specified number of times.
Syntax
REPLICATE(string, integer)
Repeat a string:
SELECT REPLICATE('SQL Tutorial', 5);
The REPLICATE() function repeats a string a specified number of times.
REPLICATE(string, integer)