Hallo,
mit folgendem Befehl möchte ich eine Tabelle meiner Datenbank durchgehen, um eine ID in zahlreichen Einträgen zu ändern:
UPDATE jos_content SET fulltext = REPLACE(fulltext, '9915306613', '3068400253') WHERE fulltext LIKE '%9915306613%'
Leider mag SQL das jedoch nicht sondern wirft folgendes aus:
MySQL-ERROR
MySQL meldet:
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 'fulltext = replace(fulltext, '9915306613', '3068400253')' at line 1
Da die Syntax meiner Meinung nach stimmt, steh ich wie Ochs vorm Berg. Wer kann mir einen Tipp geben, woran es liegt?