After working on a different question here on SO, I stumbled across recursive CTEs which would on the surface seem a fairly easy way to solve the \"Split a csv to table rows\" p
Though it's too late now and also the OP has an accepted answer, but still it's worth mentioning to read the article on Split Function in Sql Server using Set base approach where the author has shown many ways of achieving the same.