Sql Server - PIVOT function

| | Comments (0)
I've seen code in pre-Sql Server 2005 (i.e. 2000) where PIVOT-esque functions were carried out and my god were they complicated, messy, HORRID beasts. Put quite bluntly, if I never have to see that code again it'll be far too soon.

I was only reminded of this by coming across a post by Dan Wahlin titled "Pivots to the Rescue - Providing Flexible SQL Server Queries" that gives a good explanation and use-case for them. Something that I'm sure I'll find a use for in the near future!

Leave a comment

About this Entry

This page contains a single entry by Rob published on May 29, 2009 4:26 PM.

PDB Files ... The Complete Works - there's more! was the previous entry in this blog.

A string of character 'x' the same length as string 'y' is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 5.02