unable to apply an SQL query update on table
Posted by: eran ariel
Date: July 25, 2013 08:18AM

Hi,

This is peculiar, as it functioned properly before, however, I am not certain what I might be missing in the syntax...

I am trying to update a table directly from myphpadmin as follows... the database is for a zen cart installation:

UPDATE `zenproducts` SET `product_is_call`= 1 WHERE `products_price`=0

I received the following:
0 rows affected. ( Query took 0.0125 sec )

there are about 6,000 rows in that table, and the condition exists...

I also attempted with the following syntax, however, I received the same result:

UPDATE zenproducts
SET product_is_call=1
WHERE products_price=0;

Any suggestions?



Edited 1 time(s). Last edit at 07/25/2013 08:19AM by eran ariel.

Options: ReplyQuote


Subject
Written By
Posted
unable to apply an SQL query update on table
July 25, 2013 08:18AM


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.