Contents Index REPLACE function [String] REWRITE function [Miscellaneous]

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 

REPEAT function [String]

Example 

The following statement returns the value repeatrepeatrepeat.

SELECT REPLICATE( 'repeat', 3 )

Contents Index REPLACE function [String] REWRITE function [Miscellaneous]