Collection Contents Previous Next PDF

ASA SQL Reference

SQL Functions

Alphabetical list of functions

REPLICATE function [String]


Function 

Concatenates a string a specified number of times.

Syntax 

REPLICATE ( string-expressioninteger-expression )

Parameters 

string-expression    The string to be repeated.

integer-expression    The number of times the string is to be repeated.

Standards and compatibility 
See also 
Example 

The following statement returns the value repeatrepeatrepeat.

SELECT REPLICATE( 'repeat', 3 )

Collection Contents Previous Next PDF