PL/SQL Trigger causes ORA-00036: Maximum Number Of Recursive SQL Levels (50) Exceeded (Doc ID 1478056.1)

Last updated on JULY 17, 2017

Applies to:

PL/SQL - Version 10.2.0.5 and later
Information in this document applies to any platform.

***Checked for relevance on 06-Jul-2017***

Symptoms

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

For the given testcase, the expanded error stack looks like:

ERROR at line 1:
ORA-00036: maximum number of recursive SQL levels (50) exceeded
ORA-06512: at "TTDEV2.DELETE_IB", line 6
ORA-06512: at "TTDEV2.IB_AD", line 11
ORA-04088: error during execution of trigger 'TTDEV2.IB_AD'
ORA-06512: at "TTDEV2.DELETE_IB", line 6
ORA-06512: at "TTDEV2.IB_AD", line 11

.../*repeats from, ORA-04088*/

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms