I have the following table
Id | dwCode| PRNo | ----------------------- 1 DW001 PR001 2 DW001 PR002
And I need the following result:
dwCode| PRNo | ----------------------- DW001 PR001,PR002
Is there any short way to transform the data like this using MS SQL Server 2005?