Oracle ORA-00036 Error: Causes and Solutions Complete Guide
The article discusses the Oracle ORA-00036 error, which occurs when the maximum number of recursive SQL levels is exceeded. It outlines the primary causes of this error, including circular trigger dependencies, infinite recursive PL/SQL procedures, and circular view references. Solutions and prevention tips are also provided to help users avoid encountering this error in the future.
- ▪ORA-00036 occurs when Oracle's internal recursive SQL call stack exceeds its maximum allowed depth, which defaults to 2000 levels.
- ▪Circular trigger dependencies, infinite recursive PL/SQL procedures, and circular view references are the top three causes of this error.
- ▪The article provides solutions such as disabling offending triggers, adding base cases in functions, and rewriting views to reference base tables directly.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3943064) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } umzzil nng Posted on May 29 • Originally published at oraerror.com Oracle ORA-00036 Error: Causes and Solutions Complete Guide #oracle #database #dba #sql ORA-00036: Maximum Number of Recursive SQL Levels Exceeded ORA-00036 occurs when Oracle's internal recursive SQL call stack exceeds its maximum allowed depth, which defaults to 2000 levels.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).