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

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...

Friday Basics: the CIA Triad

By

In information security (INFOSEC), there several foundational concepts and principles. One of the ones...

Read the latest Blogs

Forums

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...

How to create a baseline using counters to analyze server performance?

By IT researcher

I am currently working on creating a baseline for our server, using various counters...

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