Write a SQL command to repeat a string a specified number of time?
374
15-Nov-2021
Ashutosh Kumar Verma
15-Nov-2021The REPLICATE() function is used to print a string to specified number of time in SQL Server.
Syntax- REPLICATE(string, integer);
Example:
MindStick.com MindStick.com MindStick.com
Also used to print any number in repeated number of given time.
145639878414563987841456398784