REPEAT

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Builds a string by repeating the input for the specified number of times.

Syntax

REPEAT(<input>, <n>)

Parameters

NameRequiredDescription
inputrequiredThe input string from which the output string is built.
nrequiredThe number of times the input string should be repeated. The minimum valid number is 0 (which results in an empty string).