SELECT STUFF(( SELECT ',' + Lure
FROM ( SELECT DISTINCT
Lure
FROM #LureNames
) x
FOR
XML PATH('')
), 1, 1, '') AllLures