I have a table named food having column speciality. And values on rows:
Speciality (column name)
......................................
Chinese, south Indian, Mediterranean, American
......................................
South Indian, fast food, shakes, coldrinks, Chinese
......................................
And I want out as unique values on separate rows like:
South Indian
Chinese
Mediterranean
American
Fast food
Shakes
And save it to another table food2 having column name speciality2, I want to save those values into that column.
All the database in SQL server 2008.