by TedDallas · 5y ago · 0 comments
T-SQL only gives you 100 calls deep. Also, having CTEs calling other CTEs can create a very slow query plan, which takes unrolling each CTE into either a table variable or temp table to resolve.
Everyone always asks that in every language at every interview and it is rarely used in practice - ahhh interviews.