MySQL Forums
Forum List  »  Stored Procedures

Re: Updating a field in a stored procedure
Posted by: Rick James
Date: September 08, 2012 12:21PM

Use a JOIN instead of a subquery. See the docs on multi-table update. Maybe that will be a workaround. (No, I don't see what is wrong with your query.)

Have you used 'sku19' is all your tests?

Is sku UNIQUE (or PRIMARY KEY)?

Options: ReplyQuote


Subject
Views
Written By
Posted
2271
September 05, 2012 11:57AM
Re: Updating a field in a stored procedure
1219
September 08, 2012 12:21PM


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.