0

Possible Duplicate:
Convert multiple rows into one with comma as separator

So i have this model, picture of my db model

and i want to create a stored procedure that, given a calendarEvent id, it returns the usernames of all domainusers attending to it in a comma separated string.

I can get the affected usernames in a table form easily with a join, but how do i kinda flatten that table?

Community
  • 1
  • 1
sergio
  • 1,026
  • 2
  • 19
  • 43

0 Answers0