Stairway to Advanced T-SQL

Stairway to Advanced T-SQL Level 5: Turning Data On Its Side Using PIVOT Operator

The PIVOT operator was added to the Transact-SQL language in SQL Server 2005. It allows you to turn your row data on its side, so it can be presented as column data. This is useful when you want take unique column values and have them displayed as column headings, where the column headings are associated with summarized values displayed below each column heading. In this article I will be exploring how to use the PIVOT operator.

Blogs

Microsoft Fabric Training and Tutorials

By

Microsoft Fabric is the new data offering in Microsoft Azure and there is a...

DBA and Developer: Allies or Adversaries?

By

In the expansive landscape of software development, the relationship between Database Administrators (DBAs) and...

New Pluralsight Course - Certified Kubernetes Administrator - Working With Your Cluster

By

We’re working through the major refresh of my Certified Kubernetes Administrator series at Pluralsight! The...

Read the latest Blogs

Forums

Report definition has an invalid target namespace

By Frank Cazabon

I'm hoping someone here has encountered this before and was able to fix it....

Query about GAC (Global Assembly Cache)

By Jobs90312

Hi everyone, So I have a SSIS package that performs some importing/exporting from MySQL...

How to check for data loss after rollback

By Lord Slaagh

Hello SSC, I am not a DBA,. I have some DBA knowledge, but my...

Visit the forum

Question of the Day

Reporting Services Editions

In which editions of SQL Server 2022 can you run Reporting Services?

See possible answers