I have the following SP;SELECT dbo.tbl_ARS_Registers.RegisterID, sipr.dbo.ins_prs.prs_name, dbo.tbl_ARS_Registers.StartDate, dbo.tbl_ARS_Registers.EndDateFROM dbo.tbl_ARS_RegistersINNER JOIN dbo.tbl_ARS_Register_Lecturers ON dbo.tbl_ARS_Registers.RegisterID = dbo.tbl_ARS_Register_Lecturers.RegisterIDINNER JOIN sipr.dbo.ins_prs ON dbo.tbl_ARS_Register_Lecturers.LecturerID = sipr.dbo.ins_prs.prs_codeWHERE dbo.tbl_ARS_Registers.RegisterID = 17GROUP BY dbo.tbl_ARS_Registers.RegisterID, sipr.dbo.ins_prs.prs_name, dbo.tbl_ARS_Registers.StartDate, dbo.tbl_ARS_Registers.EndDate
Which produces the results;RegisterID prs_name StartDate EndDate17 Joe Bloggs 2005-05-01 00:00:00 2005-05-31 00:00:0017 Betty Bloggs 2005-05-01 00:00:00 2005-05-31 00:00:0017 William Bloggs 2005-05-01 00:00:00 2005-05-31 00:00:00However, I'd like the output to look like;RegisterID Lecturers StartDate EndDate17 Joe Bloggs, Betty Bloggs, William Bloggs 2005-05-01 00:00:00 2005-05-31 00:00:00What's the easiest way to acheive this?Thanks.