Concatenates a string a specified number of times.
REPLICATE( string-expression, integer-expression )
string-expression The string to be repeated.
integer-expression The number of times the string is to be repeated.
LONG VARCHAR
If the actual length of the result string exceeds the maximum for the return type, an error occurs. The result is truncated to the maximum string size allowed.
The behavior of this function is identical to that of the REPEAT function.
SQL/2008 Vendor extension.
The following statement returns the value repeatrepeatrepeat.
SELECT REPLICATE( 'repeat', 3 );