Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> mutating table
I have a table with a self relationship and I want to put a trigger on the table that checks the parent (on the same table) before allowing any update to the table. I can't do this because Oracle gives me a mutating table error for the trigger. Is there any way to get round this or do I have to scrap the idea?
I've thought of using a database procedure for the updates and taking update rights away from users but I would rather place the constraint (it's a constraint in the relational schema) in a trigger.
Can anybody help? Received on Sat Apr 22 2000 - 00:00:00 CDT