I have a column that contains string of words split by comma I want to split each word to new row.
This is table example
PL | Year
------------+------
Java, C#, C | 2018
I want results like this
PL | Year
-------+--------
Java | 2018
C# | 2018
C++ | 2018
My query attempt:
select into #TempTable PL, Year
from myTable;