Quantcast
Channel: CTE - Recursive SQL
Viewing all articles
Browse latest Browse all 12

CTE - Recursive SQL

$
0
0

Thank you all! Indeed there are some issues with cycles in the data. It was a combination of Ramireddy's response and Erland that helped me solve this.

-->

Example

CategoryId | ParentCategoryId

10                3

3                  10

The statement terminated. The maximum recursion 32767 has been exhausted before statement completion.

 


Viewing all articles
Browse latest Browse all 12


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