Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Multiple triggers on a table

Multiple triggers on a table

From: N Prabhakar <prabhs_at_po.pacific.net.sg>
Date: 1997/01/04
Message-ID: <5akf44$g68@newton.pacific.net.sg>#1/1

Hi All,

I have a clarification on database triggers. I cam to know that from Oracle 7.2 onwards, you can have multiple triggers of the same type on a table. (ie., 2 before insert trigger, 2 after insert trigger ..etc)

Let us say USER1 has a table EMP. He creates a BEFORE INSERT trigger on EMP. USER2 can have BEFORE INSERT trigger on USER1.EMP.

My question is, which trigger will get executed upon INSERTION of a record on USER1.EMP.

To enable multiple triggers on a table, you need to set init.ora parameter COMPATIBLE=7.2 Did any one try this and if so, what is the behavior of the triggers?.

I am not sure what is the underlying principle in implementing this strategy?

Regards

N.Prabhakar Received on Sat Jan 04 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US