Breaking out a comma delimited field in SQL Server
I'm trying to Query an existing SQL server DB that contains voting information for a small polling app. The app is a classic pick up to x of 10 items from the checkboxlist. So there is no fixed number of items.
ie: Pick up to 3 colors you like
The applications writes the choices in a comma delimited field ie
Date | Name | Choices
01/27/1999 | John Smith | Red,Blue
01/28/1999 | Jane Doe | Green, Orange, Pink
1/29/1999 | Bob Jones| Blue
I'm Trying to write a query that will sum the each of the options.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.