Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: updating a referencing field via trigger
In article <374FD4C0.528F0520_at_orbital-computer.de>,
Thomas Bierhance <Bierhance_at_orbital-computer.de> wrote:
> Hi,
>
> I'm having a problem in following situation. There is a table 'A' that
> references another table 'B'. When deleting a row in table 'B' I want
> the reference in table 'A' set to NULL. I created a trigger for that:
>
> before delete on B for each row
....
im not sure of my answer but first idea that came to me when i read ur
message is that tigger had to b defined AFTER delete not BEFORE? is it
true?
hope it'll be !
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Sat May 29 1999 - 13:51:54 CDT
![]() |
![]() |