Ghettomaster
09.06.2007, 19:03
Hallo ich habe mir zwecks Search and Replace folgende Syntax zusammengeschustert:
UPDATE vb3_post SET pagetext = REPLACE (pagetext, 'http://www.sf-community.de/forum/', 'http://www.sf-community.de/') WHERE pagetext LIKE '%http://www.sf-community.de/forum/%' LIMIT 0, 500
Leider wirft das ganze folgende Fehlermeldung: #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 ' 500' at line 1
MySQL Server Version ist 5.0.32.
Irgendjemand eine Idee? Wäre wirklich super. :)
CU
Ghettomaster
UPDATE vb3_post SET pagetext = REPLACE (pagetext, 'http://www.sf-community.de/forum/', 'http://www.sf-community.de/') WHERE pagetext LIKE '%http://www.sf-community.de/forum/%' LIMIT 0, 500
Leider wirft das ganze folgende Fehlermeldung: #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 ' 500' at line 1
MySQL Server Version ist 5.0.32.
Irgendjemand eine Idee? Wäre wirklich super. :)
CU
Ghettomaster