Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

When using a CTE in GCP it has a limitation of only 100 iterations.

Vijeet
New Member

I am trying to run a query which has around 1000 iteration with the help of "WITH RECURSIVE" clause. But when I try to run it, it gives an error "A recursive CTE has reached the maximum number of iterations: 100." Tried a lot of things but all in vain. 
When I tried to make the loop smaller than 100 its running properly. Any suggestions on how to overcome this problem ?

0 1 748
1 REPLY 1