Loading lesson path
Concept visual
Start at both ends
SELECT REPLICATE('SQL Tutorial', 5);The REPLICATE() function repeats a string a specified number of times.
string, integer )
Required. The string to repeat integer Required. The number of times to repeat the string
SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse
Repeat the text in CustomerName two times: SELECT REPLICATE(CustomerName, 2)
FROM Customers;❮ SQL Server Functions