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

Home -> Community -> Mailing Lists -> Oracle-L -> ORA-04091: table mutating problem?

ORA-04091: table mutating problem?

From: Leslie Lu <leslie_y_lu_at_yahoo.com>
Date: Thu, 03 May 2001 15:09:30 -0700
Message-ID: <F001.002F92AF.20010503150550@fatcity.com>

Hi all,

I got ORA-04091: table mutating problem. Here is the case: select from table A and insert them into table B. A trigger is used to check that new DATE must be later than every DATE in B. So I open an cursor, loop through cursor to compare new DATE value.

If I tested using hard coded value, the trigger works; if do a insert ... select, I got ORA-04091.

I looked through metalink, didn't see anything that can help.

Thank you in advance.

Leslie



Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Leslie Lu
  INET: leslie_y_lu_at_yahoo.com
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 Thu May 03 2001 - 17:09:30 CDT

Original text of this message

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