MMartin1 (12/26/2014)
Create a table valued function that returns the delimited string as a column in a table. Join whatever table you are working on to this table (valued function) on the key columns.
Most people don't know how to do that first part with performance in mind. If you can limit it to 8K bytes, here's an article on a fast T-SQL-only solution. If you need more than that, the article also contains a simple SQLCLR solution that Paul White wrote.
http://www.sqlservercentral.com/articles/Tally+Table/72993/
--Jeff Moden
Change is inevitable... Change for the better is not.