January 24, 2011 at 3:12 am
The most important question: Are you using SQL Server 2005 (as indicated in the header) or SS2000 (as per the forum you posted in)? Makes a huge difference...
You might also search this site for the keyword "TRANSPOSE". There are several solutions available.
January 24, 2011 at 7:08 pm
Hi Sandeep and welcome aboard!
It's good that you posted data for an example but most people like to test their code before posting it as an answer. The problem with your data is it's not "readily consumable" data and a lot of people won't take the time to convert it. With that in mind, please take a look at the article at first link in my signature line at the bottom of this post... you'll get much better and quicker answers if you format your data example that way along with a relevant CREATE TABLE statement.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply