Skip to main content

REPLICATE (SQL)

A string function that repeats a string a specified number of times.

Synopsis

REPLICATE(expression,repeat-count)

Description

REPLICATE repeats a string a specified number of times.

Note:

The REPLICATE function is an alias for the REPEAT function. REPLICATE is provided for TSQL compatibility. Refer to REPEAT for further details.

Arguments

expression

The string expression to be repeated.

repeat-count

The number of times to repeat, expressed as an integer.

See Also

FeedbackOpens in a new tab