MySQL Forums
Forum List  »  Stored Procedures

Re: Updating a field in a stored procedure
Posted by: Geo Barreros
Date: September 05, 2012 03:46PM

DELIMITER $$
drop procedure if exists p$$
create procedure p()
BEGIN
SELECT product_id FROM oc_product WHERE sku='sku19';

END$$
DELIMITER ;
call p();


Returns one row.

Options: ReplyQuote


Subject
Views
Written By
Posted
2275
September 05, 2012 11:57AM
Re: Updating a field in a stored procedure
878
September 05, 2012 03:46PM
1222
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.