Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

CTE multiple in a stored procedure

$
0
0
I have a developer wrote code using a lot of CTEs in a stored procedure.Basically, one CTE call another CTE call another CTE.CTE is sometimes easy to understand, but if using many I lose of track in the middle, and need keep going back to see what the field means, and it is hard to debug for some data issues.Any recommendation to debug or run some test cases for a stored procedure that may use serveral CTEs.Thanks,

Viewing all articles
Browse latest Browse all 3145

Trending Articles