Sign in
|
Join
Home
Blogs
Forums
BI
XML
FILESTREAM
DOTNET
TC
SQL Tools
Got a SQL Server or .NET question? Discuss it in the
forums
. (
SQL Server Forums
|
Dot NET Forums
)
First Time? You can support us by signing up. It takes only 5 seconds. Click
here
to sign up. If you already have an account, click here to
login
.
Jacob's Blog
Home
Contact
RSS for Posts
Recent Blog Posts
Another UNPIVOT Example
An example using UNPIVOT (Transforming Columns to Rows...
Most Viewed
Another UNPIVOT Example
(514)
An example using UNPIVOT (Transforming Columns to Rows...
(331)
Archive
August 2010 (5)
July 2010 (3)
June 2010 (9)
May 2010 (3)
April 2010 (5)
March 2010 (5)
February 2010 (4)
January 2010 (4)
December 2009 (3)
November 2009 (1)
October 2009 (4)
September 2009 (4)
August 2009 (14)
July 2009 (2)
June 2009 (15)
May 2009 (7)
April 2009 (1)
March 2009 (10)
February 2009 (8)
January 2009 (15)
December 2008 (1)
November 2008 (3)
October 2008 (14)
September 2008 (32)
August 2008 (30)
July 2008 (15)
June 2008 (6)
January 2008 (4)
December 2007 (6)
November 2007 (2)
October 2007 (1)
June 2007 (1)
January 2007 (1)
October 2006 (1)
July 2006 (1)
Another UNPIVOT Example
We saw an example of UNPIVOT in the previous post . Let us see one more UNPIVOT example in this post. I wrote this query to help some one in one of the SQL Server forums. Here is the source data: /* SquadID Date Area01 Area02 Area03 Area04 Area05...
Posted:
10-11-2008 7:53 PM
by
Jacob Sebastian
| with
no comments
Filed under:
UNPIVOT
An example using UNPIVOT (Transforming Columns to Rows)
In the previous post we discussed the PIVOT operator introduced by SQL Server 2005. We saw how to transform ROWS to COLUMNS using the PIVOT operator. This is the source data that we examined in the previous post. /* id --------- -- 1 2 3 4 5 6 7 8 9 10...
Posted:
09-29-2008 7:40 PM
by
Jacob Sebastian
| with
no comments
Filed under:
UNPIVOT
Copyright © Beyondrelational.com