vishal sahani

vishal sahani

  • NA
  • 92
  • 36.5k

Columns to rows in sql server 2008

Dec 22 2011 12:45 AM
Hi guys,

  I have a table like
a2
b
3
c
4
d
5
a
4
a
5
b
5

  i would like to change the rows to columns like

a
2
4
5
b
3
5

c
4


d
5




can you please help me do this.


Answers (1)