MySQL Forums
Forum List  »  Newbie

Find and replace in phpmyadmin
Posted by: Barry Steinman
Date: March 26, 2013 10:29AM

Can you tell me what is wrong with this SQL query in mysql 5.1 in php admin

UPDATE ps_specific_price SET from=REPLACE(from,"2012-03-31 21:00:00","2013-03-31 21:00:00");

I get the error:

#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 'from=REPLACE(from,"2012-03-31 21:00:00","2013-03-31 21:00:00")' at line 2

Options: ReplyQuote

Written By
Find and replace in phpmyadmin
March 26, 2013 10:29AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.