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

Home -> Community -> Mailing Lists -> Oracle-L -> Mutation effect for Inserts

Mutation effect for Inserts

From: Alroy Mascranghe <alroy_at_informatics.lk>
Date: Tue, 26 Mar 2002 20:13:18 -0800
Message-ID: <F001.00434619.20020326201318@fatcity.com>

>From a table's pre insert trigger we are inserting to the same table (thru a
procedure). But the recursive effect is stopped by using some logic (i.e. The second record is put only if the :NEW.status equals something. In the second insert, the record is put with a different 'status'. ). Is this ok ? I checked the docs it said upto 32 it is ok and depends on MAX_OPEN_CURSORS also.

But when I update an existing record and expect to see the second record inserted I get the table is mutating error message.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Alroy Mascranghe
  INET: alroy_at_informatics.lk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Mar 26 2002 - 22:13:18 CST

Original text of this message

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