Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> To avoid mutating trigger/function
Dear all,
I have the following table structure
Name Null? Type ----------------------------------------- -------- -------------- ACCOUNTCODE NOT NULL NUMBER(10) NAMEOFACCOUNT VARCHAR2(100) ParentCODE NUMBER(10)
ParentCODE is used to create hierarchy/tree of accountcode.
On update of parentcode, the updated parentcode should not be equal to
any of the accountcode within the subtree of that account.How to solve
this problem.
Regards
Arijit Chatterjee
Received on Wed Jul 21 2004 - 23:52:16 CDT