SELECT t.PRC_TaskID
,STUFF((SELECT ','+RTRIM(LTRIM(PRC_ProcUser))
FROM SYS_INST_PRCS
WHERE PRC_TaskID=t.PRC_TaskID ORDER BY PRC_ID FOR XML PATH('')), 1, 1, '')
AS NewRoleName
FROM SYS_INST_PRCS t WHERE t.PRC_TaskID='10405756'
GROUP BY PRC_TaskID