Home Forums SQL Server 2008 T-SQL (SS2K8) CrossTab multiple when clauses RE: CrossTab multiple when clauses
Luv SQL
SSCommitted
Points: 1544
More actions
August 4, 2016 at 6:59 am
#1893756
What I ended up doing is making 2 selects (select monthlybalance up to @EndDate and then another from @EndDate to @StartDate+11 for a full year) then union'd the data. Now I can use the original cross tab with this new table and fields.