Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trigger Question
Arthur Merar wrote in message <3732202e.265825_at_news.chaven.com>...
>Hello,
Hello Arthur
>Are you good at Triggers? Here is my situation:
>
>I have two tables (T1 & T2) in a distributed network environment.
>When a record is inserted into T1, then a trigger will fire off and
>insert that same record into T2, which is located on a different
>server belonging to a different department...
In this situation, i would grant insert only access on the T2 table and use the structure of PL/SQL (procedural blocks) to manage the errors reported from the remote database.
if you have a block like this on your trigger, you commit statment wil be fired just if you insert statment finished with success. Otherwise the roolback statment will be fired.
// ---------------------------
// ---------------------------
--
[]īs
from Goiania - Goias - Brasil
Gustavo Roberto Silva Tavares
![]() |
![]() |