Commit in Package
FlakeDec 9 2009 — edited Dec 11 2009Hi all,
I have a package with 20 procedures and functions. Each package/function has some update and insert statements. There is one procedure that gets called at the end which I call as pkg_final. To commit all the inserts/updates, is it enough that I put a commit at this procedure or should commit follow each inserts and updates at their own procedure/function?
I think all the inserts/updates in procedures and functions belonging to a package fall under a single transaction. Am I right?
Thanks,
Prajeeth