MySQL Forums
Forum List  »  UDF

stored procedure to process records in loop
Posted by: Rakesh Raman
Date: October 10, 2013 03:24AM


I need a sample stored procedure which can process records in a loop from a table. say below is the condition

Select id,name from person where age = 25

There are 75 records matching the results and I need to loop through each of the records and insert them in another table. Please provide the sample procedure based on my condition.


Options: ReplyQuote

Written By
stored procedure to process records in loop
October 10, 2013 03:24AM

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.