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

BCA KCP Rantai Mulia Kencana HUB.Tlpn.0821•3111•185

By online casstar

BCA KCP Rantai Mulia Kencana HUB.Tlpn.0821•3111•185 Jl. Pesanggrahan Jl. Puri Kencana No.28 29, RT.2/RW.7,...

BCA Finance WTC Mangga Dua Tlp/WA.(+62 821°3111°179

By mayo.fadelu

<!--more-->Tlp/WA.(+62 821°3111°179 Gedung WTC Jl. Mangga Dua Raya. 8 Lantai 6, Blok CL 001,...

BCA KCU DAAN MOGOT Telp/WA.0851°8812°0691

By online casstar

BCA KCU DAAN MOGOT Telp/WA.0851°8812°0691 Jl. Daan Mogot No.95, Wijaya Kusuma, Kec. Grogol petamburan,...

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