Trigger help

From: <mouyang_at_yahoo.com>
Date: 1997/10/18
Message-ID: <877226929.32314_at_dejanews.com>#1/1


Hi everyone,
[Quoted]   I define 2 tables, A is the parent and B is child, and define a delete casading foreign key on table B. I want to implement updating in synchronism.

  I tried to update the foreign key field on A, of course it failed, so I define a before update trigger on that field to update the corresponding field of B. When updating on A it will cause error ORA-04091 and fail.

  How should I deal with that? Any help appreciated!

Ming

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Sat Oct 18 1997 - 00:00:00 CEST

Original text of this message