Re: Dynamic UNPIVOT using FOR XML and nodes()
- From: Plamen Ratchev <Plamen@xxxxxxxxxxxxx>
- Date: Tue, 01 Sep 2009 22:58:19 -0400
Yes, this is very cool technique! Thanks for sharing!
I have used similar method to get aggregates across columns:
http://pratchev.blogspot.com/2009/08/column-aggregates.html
The down side of those methods is performance....
Another similar query I posted earlier today:
http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/c6bc463c-3c5d-4c14-bdf8-c043f69eb9f3
--
Plamen Ratchev
http://www.SQLStudio.com
.
- Follow-Ups:
- Re: Dynamic UNPIVOT using FOR XML and nodes()
- From: Farmer
- Re: Dynamic UNPIVOT using FOR XML and nodes()
- References:
- Dynamic UNPIVOT using FOR XML and nodes()
- From: Farmer
- Dynamic UNPIVOT using FOR XML and nodes()
- Prev by Date: Re: String after third space
- Next by Date: Re: Dynamic UNPIVOT using FOR XML and nodes()
- Previous by thread: Dynamic UNPIVOT using FOR XML and nodes()
- Next by thread: Re: Dynamic UNPIVOT using FOR XML and nodes()
- Index(es):
Relevant Pages
|