December 31, 2012 at 9:33 am
I don't get it. What are your expected results?
December 31, 2012 at 9:37 am
If the point of PIVOT is to help turn row based values into column based values, how do I use it to produce the same results as the approach using the CASE statements?
I'm just struggling to see the point of PIVOT - the syntax is absolutely horrible and confusing.
December 31, 2012 at 10:07 am
:O) (12/31/2012)
If the point of PIVOT is to help turn row based values into column based values, how do I use it to produce the same results as the approach using the CASE statements?I'm just struggling to see the point of PIVOT - the syntax is absolutely horrible and confusing.
I agree with you, I don't like the PIVOT clause either.
This article can help you to clarify a little bit the differences between the two methods.Cross Tabs & PIVOT[/url]
Viewing 3 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply