Tue 21 Nov 2006
rozenshtein method for pivoting relational data
Posted by Steve Knight under database , sqlNo Comments
I came across this blog entry while trying to make up for the fact that SQL server 8 does not have the PIVOT statement that I needed. It’s taken from a book (that I don’t have) by Rozenshtein on advanced database queries.
The blog explanation is lengthy and a little confusing but the idea is deceptively simple. It hinges around being able make a column expression that can ’select’ data.