Greetings...create table test (theKey int, line_number int, theText varchar(100))insert into test(theKey, line_number, theText)select 4, 1, 'I work with SQL Server' union allselect 4, 2, 'but I am not, I repeat' union allselect 4, 3, 'I am NOT' union allselect 4, 4, 'a member of the Microsoft fanboy club! NEVER!' union allselect 5, 1, 'Want to listen to some' union allselect 5, 2, 'cool music then get yourself' union allselect 5, 3, 'Chimera by Delerium, it is worth the mney!'
What I am after is to combine the line(s) where the key is the same to ONE line. Any ideas on how to do this with a set based solution?Thanks in advance.________________Make love not war!