MySQL Forums
Forum List  »  Stored Procedures

Re: call SP with dynamic SQL
Posted by: Desmond Coertzen
Date: April 11, 2012 12:28AM

Recursion would have been a nice feature in MySQL. I have a hierarchy defined in one table where one record will have an FK to point to its parent in the same table. To iterate through the hierarchy, recursion would have been an elegant solution, the same way you would use recursion in application programming to iterate over a hierarchy of a file system - iterate as in drill into directories and subdirectories.

Options: ReplyQuote


Subject
Views
Written By
Posted
6890
April 03, 2012 03:30PM
2266
April 03, 2012 07:28PM
Re: call SP with dynamic SQL
2433
April 11, 2012 12:28AM
1987
April 11, 2012 09:51AM


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.