Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Referential Integrity Enforcement: Do With Constraints or Triggers?
"internetmaster" <youlove_at_me.com> wrote in message
news:3D42038A.2040904_at_me.com...
> >>They have Insert triggers on the parent tables that handle cascade
> >>deletes and prevent illegal inserts on child tables where they key value
> >>on the parent table doesn't exist.
Sybrand and Marc have pointed you towards the performance disadvantage of this approach. How do you handle data loads/feeds from other systems to the child tables. The trigger logic will be bypassed. People often do this for one of three reasons
-- Niall Litchfield Oracle DBA Audit Commission UK ***************************************** Please include version and platform and SQL where applicable It makes life easier and increases the likelihood of a good answer ******************************************Received on Sat Jul 27 2002 - 15:03:55 CDT