Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
poor_leno
Starting Member
2 Posts |
Posted - 2007-07-05 : 06:00:52
|
Hi.LTRFTP.Please could someone tell me if it is possible to do a GROUP BY on a table but at the same time put the values of a specific column in to a new field as an array of sorts.For example;Original dataColA / ColB----------------------Poor Leno / 1Poor Leno / 2Poor Leno / 3Jez / 1Mark / 1Mark / 2Mark / 3Mark / 4Big Sooz / 0Big Sooz / 1Big Sooz / 2Required dataColA / ColB----------------------Poor Leno / 1,2,3Jez / 1Mark / 1,2,3,4Big Sooz / 0,1,2I hope this makes sense.If it is possible I'd apprieciate any tips on how I could do this.Cheers,Poor_Leno Free DVD rentals...[url]http://DVDRentals.TV[/url]
|
|
|
nr
SQLTeam MVY
12543 Posts |
|
|
poor_leno
Starting Member
2 Posts |
Posted - 2007-07-05 : 06:24:59
|
That's a super whammy beaut.Thanks nr. Free DVD rentals...[url]http://DVDRentals.TV[/url] |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
|
|
|