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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Trigger help.

Re: Trigger help.

From: Thomas J Madigan <madigan_at_mscs.mu.edu>
Date: 1998/02/08
Message-ID: <Pine.GSO.3.95.980208182918.3202D-100000@studsys>#1/1

umm, ok, so what is a 'stored procedure/function' and how is it implemented?

thanks again...

--
tj madigan
e-mail: madigan_at_mscs.mu.edu
http://studsys.mscs.mu.edu/~madigan

On Fri, 6 Feb 1998, Patrick Flahan wrote:


> A mutating error occurs when you try to modify the same table as the one
> that the trigger belongs to. This type of action could lead to severe
> problems. Let's say you insert one group of rows, and then the trigger is
> performed. You then have an insert in the trigger which is performed which
> then calls the same trigger which tries to insert, and so on.
>
> I would say the best way to implement this type of action would be with a
> stored procedure/function. You could have the function perform the inserts
> and the running totals(?) and then insert the final line.
>
> Hope this helps.
> Patrick Flahan
> flahan_at_leading.net
>
Received on Sun Feb 08 1998 - 00:00:00 CST

Original text of this message

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