Here Mudassar Ahmed Khan has explained with an example, how to use the SQL Server COALESCE function to select column values in Table as comma separated (delimited) string in SQL Server.
COALESCE function can be used to get comma separated (delimited) values from Table in the following SQL Server versions i.e. 2005, 2008, 2008R2, 2012 and 2014.
↧