Home Forums SQL Server 2008 SQL Server 2008 - General common table expressions RE: common table expressions
Lynn Pettis
SSC Guru
Points: 442467
More actions
August 7, 2012 at 10:24 am
#1522713
I use CTEs to breakdown development as well. Makes the code cleaner when the CTE is used instead of a derived table in the FROM clause, and it makes using the windowing functions (ROW_NUMBER(), RANK() , etc) easier as well.