Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Articles with tag pivot Rss

Search for any content tagged pivot

   Items 1 to 7 of 7   
 

Dynamic PIVOT CLR

Learn how yo can use a SQL-CLR procedure to handle all your PIVOT queries.  Read more...
By Eric Wahner 2012/12/06 | Source: SQLServerCentral.com | Category: .net
Rating: |  Discuss |   Briefcase | 8,876 reads

Script to create dynamic PIVOT queries in SQL Server

Pivoting is a common reporting requirement - data is stored in columns and you need to present it in rows. This was a nice feature that was added to SQL Server, but you don't always know all of the values you need to pivot on. This tip looks at how you can dynamically create the pivot command to handle these unknown values.  Read more...
By Additional Articles 2012/11/09 | Source: MSSQLTips.com | Category: pivot
Rating:  Rate this |   Briefcase | 4,503 reads

A Stock Price Correlation Matrix

Building a Stock Price Correlation Matrix Using TVPs, a CROSS JOIN and the PIVOT Function  Read more...
By John Ryle 2012/05/14 | Source: SQLServerCentral.com | Category: tvp
Rating: |  Discuss |   Briefcase | 5,894 reads

Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs

In Part 1, we learned how to make both Cross-Tabs and Pivots. In Part 2, we'll learn how to automate a very common type of Cross-Tab report and maybe learn some extra tricks on the way.  Read more...
By Jeff Moden 2010/04/30 (first published: 2008/12/03) | Source: SQLServerCentral.com | Category: crosstab
Rating: |  Discuss |   Briefcase | 40,454 reads

Pivoting, Unpivoting and Aggregating

We asked Phil Factor to write a nice simple quick-start guide about aggregation, pivoting and un-pivoting techniques. To do so, he takes us all the way from getting the data from a published source, transferring it to SQL Server, un-pivoting it, storing it in a relational table, aggregating it and finally pivoting the data in a variety of ways.  Read more...
By Additional Articles 2009/11/18 | Source: SimpleTalk | Category: aggregates
Rating:  Rate this |   Briefcase | 4,096 reads

Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs

In Part 1, we learned how to make both Cross-Tabs and Pivots. In Part 2, we'll learn how to automate a very common type of Cross-Tab report and maybe learn some extra tricks on the way.  Read more...
By Jeff Moden 2010/04/30 (first published: 2008/12/03) | Source: SQLServerCentral.com | Category: crosstab
Rating: |  Discuss |   Briefcase | 40,454 reads

PIVOT working incorrectly?

One developer's journey through PIVOTing incorrectly.  Read more...
By Ryan Clare 2008/05/13 | Source: SQLServerCentral.com | Category: pivot
Rating: |  Discuss |   Briefcase | 7,519 reads
   Items 1 to 7 of 7