ReferenceSQL ReferenceSQL FunctionsfunctionsREPEATSTRVersion: 24.3.xOn this pageCategories: String REPEATSTR Repeats the given string n times. Syntax REPEATSTR(expression varchar, nTimes int32) → varchar expression: String/characters to repeat. nTimes: Number of times the string should be repeated. Examples REPEATSTR example SELECT REPEATSTR('a ', 5)-- a a a a a