MySQL Forums
Forum List  »  Newbie

Problem with updating a field with JSP
Posted by: Adenicio Freire
Date: February 28, 2011 08:37AM

I heve a query:

update product set quantity=quantity-1 where idproduct=1, for exemple.

But when I execute it in my scrypt, the quantity field is updated twice.

Options: ReplyQuote


Subject
Written By
Posted
Problem with updating a field with JSP
February 28, 2011 08:37AM


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.