Concatenates a string a specified number of times.
| Parameter | Description | 
|---|---|
| string-expression | The string to be repeated. | 
| integer-expression | The number of times the string is to be repeated. If integer-expression is negative, an empty string is returned. | 
LONG VARCHAR
LONG NVARCHAR
The result data type is a LONG VARCHAR. If you use REPEAT in a SELECT INTO statement, you must have an Unstructured Data Analytics Option license or use CAST and set REPEAT to the correct data type and size.