I\'m working with a SQL Server database. I have a column which contains a delimited list, and I need to write a query which splits the values of the list into rows. From bro
For sql Server >= 2016 you can use string_split as below:
SELECT * FROM string_split('Hello John Smith', ' ')
Output
+-------+ | value | +-------+ | Hello | | John | | Smith | +-------+