Home Forums SQL Server 2008 T-SQL (SS2K8) CTE - UNION ALL - GROUP BY RE: CTE - UNION ALL - GROUP BY
Arjun Sivadasan
SSCertifiable
Points: 5902
More actions
April 18, 2013 at 3:28 am
#1607601
I checked this up and yes, the tables which are used in the CTE definition (very first query in my first post) are partitioned. The partition is on a column BatchID. This column appears in the ON clause of a JOIN in the CTE.
https://sqlroadie.com/