ReferenceSQL ReferenceSQL FunctionsfunctionsREPEATSTRVersion: current [24.2.x]On this pageREPEATSTRCategories: StringREPEATSTRRepeats the given string n times.SyntaxREPEATSTR(expression varchar, nTimes int32) → varcharexpression: String/characters to repeat.nTimes: Number of times the string should be repeated.ExamplesREPEATSTR exampleSELECT REPEATSTR('a ', 5)-- a a a a a