use result set of mysql stored procedure in another stored procedure
- by hmak
I have a MYSQL stored procedure SP1() that returns a result set.
I want to call SP1() inside of SP2() and loop through the result set of SP1() to do some additional work.
I don't want to include my logic from SP1() because it would make SP2() too complicated.
Any suggestions?
Thanks.