Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Is there a pragma or something to avoid an intermediate commit?

juliojgs6 days ago

Hi, this is plsql in oracle 19

I have to test a procedure with a cursor loop which calls functions that calls more functions in a quite intricate loom.

Due to lack of good test data, they want to run it from an anonymous block in prd environment, but there is risk of issuing a commit in-between the code somewhere in that code tangle … Is there a pragma that I can declare in that anonymous block that makes the execution stop if finds a commit?

Thanks

Comments
Post Details
Added 6 days ago
6 comments
92 views