MySQL Forums
Forum List  »  General

Re: try UPDATE first, then INSERT if row doesn't exist
Posted by: Peter Brawley
Date: January 06, 2015 12:04PM

See the manual page for INSERT,the ON DUPLICATE KEY UPDATE option.

Options: ReplyQuote


Subject
Written By
Posted
Re: try UPDATE first, then INSERT if row doesn't exist
January 06, 2015 12:04PM


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.