- Apr 24, 2005
- 553
- 4
- 81
guys... wtf, I can't figure this out 
*** MS SQL Server 2000 ***
I have a view that returns data similar to :
John 1
John 2
John 3
Anna 4
Anna 5
Mike 6
And I need it to collapse columns into this:
John
1
2
3
Anna
4
5
Mike
6
(flatten output into one column, but ordered by the letter)
I tried Union and Cross-join to self, but nothing. Any ideas?
*** MS SQL Server 2000 ***
I have a view that returns data similar to :
John 1
John 2
John 3
Anna 4
Anna 5
Mike 6
And I need it to collapse columns into this:
John
1
2
3
Anna
4
5
Mike
6
(flatten output into one column, but ordered by the letter)
I tried Union and Cross-join to self, but nothing. Any ideas?
