Advertisement
rAthus

Baroudeur SQL REPLACE categories > tags

Apr 25th, 2016
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.61 KB | None | 0 0
  1. UPDATE bars SET tags =
  2.     REPLACE(
  3.     REPLACE(
  4.     REPLACE(
  5.     REPLACE(
  6.     REPLACE(
  7.     REPLACE(
  8.     REPLACE(
  9.     REPLACE(
  10.     REPLACE(
  11.     REPLACE(
  12.     REPLACE(
  13.     REPLACE(
  14.     REPLACE(
  15.     REPLACE(
  16.     REPLACE(
  17.     REPLACE(
  18.     REPLACE(
  19.     REPLACE(
  20.     REPLACE(
  21.     REPLACE(
  22.         categorie
  23.     ,'20',"Concert")
  24.     ,'19',"Bar à champagne")
  25.     ,'18',"Shisha")
  26.     ,'17',"Cocktails")
  27.     ,'16',"Boîte lesbienne")
  28.     ,'15',"Boîte gay")
  29.     ,'14',"Tapas")
  30.     ,'13',"Théâtre")
  31.     ,'12',"Shooters")
  32.     ,'11',"Club")
  33.     ,'10',"Pub")
  34.     ,'9',"Vin")
  35.     ,'8',"Bar")
  36.     ,'7',"Lesbien")
  37.     ,'6',"Gay")
  38.     ,'5',"Lounge")
  39.     ,'4',"Danse")
  40.     ,'3',"Bières")
  41.     ,'2',"Festif")
  42.     ,'1',"Café")
  43. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement