How to concatenate multiple rows?

For SQL Server 2005+, use the STUFF function and FOR XML PATH.

I don't have my code in front of me, or I would show you a quick example, but I would look into writing a CLR aggregate for this. Its very simple. There are some automatically created method to use, and they're just for collection (add to a List object or something), Merge (merging multiple lists created in multiple threads), and an output (take the list and turn it into a string - String.

Join(",", list.ToArray())). Only thing to know is that there is a length limit of 8000 characters.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions