Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Need workaround for Oracle Mutating table
hasta_l3_at_hotmail.com wrote:
> On 23 jan, 18:30, DA Morgan <damor..._at_psoug.org> wrote:
>> hasta..._at_hotmail.com wrote: >>> swapnil.k..._at_gmail.com a écrit : >>>> Thanks DA Morgan. It solved the problem. Thanks a lot for the help. I >>>> referred the "Autonomous Transaction" and thats what i needed. <I'll >>>> definately think over remodelling it.> >>> Swapnil, it is rare that an autonomous transaction is a >>> solution to the mutating table warning... >>> Could we see your solution ? >> You can find one example at:http://www.psoug.org/reference/table_trigger.html >> --
In theory it should, AFTER INSERT, record the number of records it found in T1, the table on which it is located, into T2 for auditing purposes.
It is a rotten piece of code but it demonstrates the concept.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Jan 24 2007 - 12:43:35 CST
![]() |
![]() |