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

PlanTrace Now Supports PostgreSQL

By

PlanTrace Now Supports PostgreSQL The same plan analysis you know from...

A New Word: the Kinder Surprise

By

the kinder surprise – . the point in your early adolescence when you realize...

Crash-Consistent Snapshot Cloning - Hyper-V Edition

By

If you’ve been following my T-SQL Snapshot Backup series, most of what I’ve covered...

Read the latest Blogs

Forums

Call Center Batik Air Yogyakarta

By aaron.carr

Call Center Batik Air Yogyakarta dapat di lakukan menghubungi CS resmi Batik Air di...

Call Center Batik Air Medan

By aaron.carr

Call Center Batik Air medan dapat di lakukan menghubungi Layanan resmi Batik Air di...

Call Center Batik Air Tangerang

By aaron.carr

Call Center Batik Air Tangerang dapat di lakukan menghubungi Layanan resmi Batik Air di...

Visit the forum

Question of the Day

SSoL Support on the OS

On which Linux versions is SQL Server 2025 on Linux supported?

See possible answers