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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-00036: maximum number of recursive SQL levels (50) exceeded

Re: ORA-00036: maximum number of recursive SQL levels (50) exceeded

From: <Jared.Still_at_radisys.com>
Date: Thu, 13 Jun 2002 09:08:41 -0800
Message-ID: <F001.0047D4EE.20020613090841@fatcity.com>


>From MetaLink:

Error: ORA 36
  Text: Maximum number of recursive sql levels (%s) exceeded  



  Cause: An attempt was made to go more than the specified number of recursive

          SQL levels was made.
  Action: Remove the recursive SQL, possibly a recursive trigger.

    In Oracle7/8 there is a hard carded limit of 50 recursive     sessions. This hard coded limit is NOT configurable.

    If a you have hit 50 recursive sessions there is probably something     wrong in the code causing an infinite recursion.     Eg: PLSQL which uses DBMS_SQL to call itself over and over.

    The following may help collect additional information about the     true problem.
    NB: See [NOTE:75713.1] before setting any event in the init.ora file.  

    Add this line to the init.ora file for the instance:  

      event="36 trace name errorstack level 3"

    This should dump a trace file when the ORA-36 occurs. The trace file may

    help identify the cause of the problem.

"Farnsworth, Dave" <DFarnsworth_at_Ashleyfurniture.com> Sent by: root_at_fatcity.com
06/13/2002 06:28 AM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        ORA-00036: maximum number of recursive SQL levels (50) exceeded


I got this error in my <SID>Alert log yesterday. I found that this usually has to do with triggers that keep calling itself. Is this "recursive SQL level" an internal parameter that cannot be changed? I do not see this in my init.ora. Is this error due more to coding error?

Thanks,

Dave

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Farnsworth, Dave
  INET: DFarnsworth_at_Ashleyfurniture.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).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Jared.Still_at_radisys.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 Jun 13 2002 - 12:08:41 CDT

Original text of this message

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