Error 1064 al actualizar datos de una tabla
Publicado por Jesús (1 intervención) el 18/06/2019 10:53:18
Tengo un problema con esta consulta:
Al intentar actualizar los datos de una tabla pero me salta u error de sintaxis pero no encuentro el problema:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9gVzzVH_usermeta' SET 'meta_key' = REPLACE
('meta_key', 'wp_', '9gVzzVH_') W' at line 1
Gracias
1
2
3
4
5
6
7
UPDATE '9gVzzVH_usermeta' SET 'meta_key' = REPLACE (
'meta_key',
'wp_',
'9gVzzVH_'
)
WHERE 'meta_key' LIKE 'wp_%';
Al intentar actualizar los datos de una tabla pero me salta u error de sintaxis pero no encuentro el problema:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9gVzzVH_usermeta' SET 'meta_key' = REPLACE
('meta_key', 'wp_', '9gVzzVH_') W' at line 1
Gracias
Valora esta pregunta


0