DML within a packaged function using PRAGMA AUTONOMOUS_TRANSACTION
547252Aug 13 2007 — edited Aug 13 2007I am using PRAGMA AUTONOMOUS_TRANSACTION to perform DML within a function. However, it works perfectly for one of the functions in a package, and does not work for any other function in the same package. I tried to use this logic in different functions of the same pack. but its not helping.
Can anyone please suggest a better approach to achieve this.
Thanks a ton.