Re: Question: Mutation in Statement Triggers

From: Alexandr I. Alesinsky <al_at_investor.kharkov.ua>
Date: 1995/06/07
Message-ID: <AFD9MrlGDB_at_investor.kharkov.ua>#1/1


> I wonder if anyone can help me with the following
>problem:
> Table 'b' has a statement trigger 't' associated with
>it that does a query on 'b'. When there is an insert,
>delete or update on 'b', the trigger executes properly.
>Table 'b' has a parent table 'a'. The reference from
>'b' to 'a' is set to ON DELETE CASCADE. When a row
>in 'a' is deleted, and Oracle runs off to delete the
>corresponding rows in 'a', it returns an error saying
>that 'b' is mutating, and thus it cannot execute
>the trigger 't'. Any idea why?
>

I believe, that triggers fires for each row in 'a'.

Alexandr Alesinsky
JSV Investor Received on Wed Jun 07 1995 - 00:00:00 CEST

Original text of this message