Hi,
I want to show vertical rows data in horizotal.
For EG:
ID Name
1 Pravin
1 VJ
2 Akash
3 Dhan
Result Should be:
ID Name
1 Pravin,VJ
2 Akash
3 Dhan
Is it possible.
Plz help
Show vertical row data in Horizontal
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


MuthuMari MRank #5,738 · 288 reputationPosted Apr 4, 2012, 2:46 AM EDT
I think u may use pivot.
pls refer this i think, u will get some ideas.
http://blog.sqlauthority.com/2008/06/07/sql-server-pivot-and-unpivot-table-examples/
Thanks!