Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Pivot and Unpivot   (RSS)

The UNPIVOT Operator

The UNPIVOT operator is the opposite of the PIVOT operator. As I explained in my earlier post , the PIVOT operator takes a normalized table and transforms it into a new table where the columns of the new table are derived from the values in the original
Posted by craigfr | 2 Comments
Filed under:

PIVOT Query Plans

In my last post , I gave an overview of the PIVOT operator. In this post, I'm going to take a look at the query plans generated by the PIVOT operator. As we'll see, SQL Server generates a surprisingly simple query plan that is essentially just a fancy
Posted by craigfr | 0 Comments

The PIVOT Operator

In my next few posts, I'm going to look at how SQL Server implements the PIVOT and UNPIVOT operators. Let's begin with the PIVOT operator. The PIVOT operator takes a normalized table and transforms it into a new table where the columns of the new table
Posted by craigfr | 6 Comments
 
Page view tracker