SET cte_max_recursion_depth = …
MariaDB
MySQL
SQL Server
2016
2018
2020
2022
2024
8.0.11 - 9.6.0