Possible Duplicate:
TSQL query to concatenate and remove common prefix
Hi
How does one compile a single string from the results of an SQL query.
E.g.
Table A
Column: Name
Row 0 : John
Row 1 : Sam
Row 2 : Kate
Resulting SQL query must return a single row with the result as a single string.
E.g.
"John, Sam, Kate"
Note: Using MS SQL 2005