Mega Code Archive

 
Categories / MySQL / String
 

REPEAT(string, count)

mysql> mysql> SELECT REPEAT('CatsDogs', 3); +--------------------------+ | REPEAT('CatsDogs', 3)    | +--------------------------+ | CatsDogsCatsDogsCatsDogs | +--------------------------+ 1 row in set (0.00 sec)