MySQL Forums :: Connector/JDBC and Java :: Updating an entry

Advanced Search

Updating an entry
Posted by: tan twi ()
Date: October 07, 2012 05:48PM

i have a books table and in it the fields id name ammount
i need to update a certain row (like id=3) and reduce the ammount

i think i need to do a preparedstatment but can't figure out how to use it , any ideas ?
thanks to all helpers

Options: ReplyQuote

Subject Written By Posted
Updating an entry tan twi 10/07/2012 05:48PM

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.