Hi All,
Here is the situation:
I have table with the data
For eg:
ID LineNo Text
100 1 aaa
100 3 bbb
100 2 ccc
200 1 ddd
200 2 eee
I need the result as
ID Text
100 aaa ccc bbb
200 ddd eee
I tried with the (@i=@i+column) method, but I need ID as well.
Could anyone please help me out with possible query WITHOUT CURSOR.
Env: SQL Server 2000
Thanks in advance
Jothi Krishna