Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
rajukurian
Starting Member
8 Posts |
Posted - 2008-09-11 : 11:15:07
|
| Hi, I am facing problem while shifting one row into column.My table is like this.ID COSTSET COST1 1 1.231 2 1.342 1 2.872 2 2.90-====I want the output likeID COSTSET1 COSTSET21 1.23 1.342 2.87 2.90any help will be appriciate.ThanksRK |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-09-11 : 11:37:49
|
Use the new PIVOT operator in SQL Server 2005. E 12°55'05.63"N 56°04'39.26" |
 |
|
|
rajukurian
Starting Member
8 Posts |
Posted - 2008-09-11 : 12:07:33
|
| Thanks Peso. |
 |
|
|
|
|
|