Hacker News new | ask | show | jobs
by dacohenii 3361 days ago
I used STUFF all the time until I found and implementation [https://groupconcat.codeplex.com/] of MySQL's GROUP_CONCAT as a SQLCLR function (well, actually they had to create multiple variants to allow sorting and custom delimiters).

It's certainly more ergonomic than STUFF, and I've found its performance to be comparable or better.