Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 519 Bytes

File metadata and controls

21 lines (15 loc) · 519 Bytes
description
Repeats the given string n times.

REPEATSTR

Syntax

REPEATSTR(expression varchar, nTimes int32) → varchar

  • expression: String/characters to repeat.
  • nTimes: Number of times the string should be repeated.

Examples

{% code title="REPEATSTR example" %}

SELECT REPEATSTR('a ', 5)
-- a a a a a

{% endcode %}