I know you can do this, because I\'ve seen it done once before, but I forget where and up until now I haven\'t need to do it.
I have a table called Employees, and it
Use coalesce. Something like this:
DECLARE @Names varchar(1000) SELECT @Names = COALESCE(@Names + ', ', '') + Name FROM Employees