Returns a string with the same datatype as char_expr or uchar_expr containing the same expression repeated the specified number of times or as many times as fits into 16K, whichever is less.
replicate(char_expr | uchar_expr, integer_expr)
select replicate("abcd", 3)
------------ abcdabcdabcd
If char_expr or uchar_expr is NULL, returns a single NULL.
See also Transact-SQL Users Guide.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute replicate.