Quantcast
Channel: Active questions tagged cte - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 207

Is it possible to limit infinte recursion in an Oracle CTE?

$
0
0

In a DBMS like Microsoft SQL, there is a default limit of 100 recursions, in a recursive CTE, which can be adjusted with:

WITH cte AS (…)SELECT * FROM cte OPTION (MAXRECURSION …);

As far as I can tell, in PostgreSSQL, MariaDB and MySQL, you need to set a timeout.

Is there an option either for the number of recursions or a timeout for Oracle?


Viewing all articles
Browse latest Browse all 207

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>