MySQL Forums
Forum List  »  Stored Procedures

Re: Insert query
Posted by: Rick James
Date: September 06, 2014 08:18PM

Don't worry about a STORED PROCEDURE until you have figured out what the INSERT / UPDATE statement(s) are.

One can "INSERT" a whole row; one cannot "insert 6 columns".

Perhaps you are looking for
http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.html

Options: ReplyQuote


Subject
Views
Written By
Posted
1948
September 04, 2014 11:47PM
Re: Insert query
1087
September 06, 2014 08:18PM


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.