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!

Anyway to disable autonomous transaction during SQL query execution

451392Jul 28 2008 — edited Jul 30 2008
I am using Oracle DB 10.2.

Is there any way I can disable autonomous transaction execution in my session while executing a SQL query.

If a SQL query refers to a function which does DML operation the query returns exception as it should.

However if the query refers to a function which does the DML operation as a part of autonomous transaction, the execution of the query successfully executes the autonomous transaction as well.

My requirement is to block execution of query, which refers to a function which does DML operation as a part of autonomous transaction.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2008
Added on Jul 28 2008
9 comments
1,162 views