Possible Duplicate:
SQL Server Group Concat with Different characters
I need an example on SELECT where the output is a ',' separated string
e.g. SELECT (... something ...) name AS output FROM name_table
gives me
output
-----------------------------
'Ann', 'Tom', 'Wilson', .....
How would you do that in SQL server 2008 R2?
Thank you!