I have two tables Organisation and Employee having one to many relation i.e one organisation can have multiple employees. Now I want to select all information of a particula
For SQL Server SQLCLR aggregates in this project are inspired by the MSDN code sample however they perform much better and allow for sorting (as strings) and alternate delimiters if needed. They offer almost equivalent functionality to MySQL's GROUP_CONCAT for SQL Server.
A full comparison of the advantages/disadvantages of the CLR aggregates and the FOR XML solution can be found in the documentation:
http://groupconcat.codeplex.com