Tuesday, October 1, 2013

pivot records help.

Make up a CTE (or #temptable, @tablevariable) with the desired data view and PIVOT it from there.


Dynamic PIVOT:


http://www.sqlusa.com/bestpractices2005/dynamicpivot/




Kalman Toth Database & OLAP Architect IPAD SELECT Query Video Tutorial 3.5 Hours

New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012



No comments:

Post a Comment