concat inferno
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
update evento set
|
||||
lugar_id = ?, # eplace ,
|
||||
fecha_inicio='?-?-?', # yini - mini - dini ',
|
||||
fecha_fin='?-?-?', # yend - mend - dend ',
|
||||
precio= ?, # cost ,
|
||||
promocion= ?, # promo ,
|
||||
lugar_id = ?, # eplace
|
||||
fecha_inicio = concat(?,"-",?,"-",?), # yini - mini - dini
|
||||
fecha_fin = concat(?,"-",?,"-",?), # yend - mend - dend
|
||||
precio = ?, # cost
|
||||
promocion = ?, # promo
|
||||
promo_estado = case ? when "on" then 1 else 0 end, #pen
|
||||
curso_id= ?, # ecourse ,
|
||||
imagen_chica= ?, # eimg ,
|
||||
curso_id = ?, # ecourse
|
||||
imagen_chica = ?, # eimg
|
||||
estado = case ? when "on" then 1 else 0 end # een
|
||||
where id = ?; # eprev ;
|
||||
where id = ?; # eprev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user