Posts Tagged ‘table’

SELECT STUFF(
(SELECT ‘,’ + s.PerfIndDesc
FROM table s
ORDER BY s.id
FOR XML PATH( )),1 ,1, )
GO
Advertisements