Skip to main content
Scalar function
Returns NULL if either argument is NULL.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • Possible values: The concatenation of count copies; an empty string when count is zero or negative.
  • NULL behavior: Returns NULL if either argument is NULL.

Properties

Examples

Typical behavior

Repeat Unicode text

In the result table, '' denotes an empty string.

Limitations

  • A result exceeding the string storage limit raises an execution error. Large requested values can require substantial memory.
Last modified on October 15, 2026