MySQL Forums
Forum List  »  Stored Procedures

Re: Updating a field in a stored procedure
Posted by: Peter Brawley
Date: September 05, 2012 03:01PM

That sproc looks fine, though, since it has just one line, Begin/End and Delimiter are not needed ...

DROP PROCEDURE IF EXISTS DuplicateProduct;
CREATE PROCEDURE DuplicateProduct()
UPDATE oc_product_description_temp SET product_id=(SELECT product_id FROM oc_product WHERE sku='sku19');

Options: ReplyQuote


Subject
Views
Written By
Posted
2275
September 05, 2012 11:57AM
1222
September 08, 2012 12:21PM
Re: Updating a field in a stored procedure
960
September 05, 2012 03:01PM


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.