Thanks for all the replies =).
Here is a simple Pseudo code:
Parent Procedure:
Code:
Procedure 1()
declare global session table here;
for each stored procedure
call procedureChildX() ;
do something here;
commit;
end for;
open cursor for global session table here;
end procedure 1
Child Procedure:
Code:
procedureChildX()
for each selected rows from tableA
insert to TableB
commit;
end for;
insert something to global session table here;
end procedureChildX
I'm just wondering if there will be problem here I must address. I still have no testing environment at the moment.
Thanks a lot!