ASA SQL Reference
SQL Functions
Alphabetical list of functions
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.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
The following statement returns the value repeatrepeatrepeat.
SELECT REPLICATE( 'repeat', 3 )