Hi Guys,
I have a table with 2 fields (ID and DepartmentNames), department names column contains a comma seperated list. Can anyone please help me with a query to return the department names in individual rows
Current format
--------------------
ID DepartmentNames
1 IT,Finance
2 Accounting, Finance, IT
Desired format
----------------------
ID Departmnt Name
1 IT
1 Finance
2 Accounting
2 Finance
2 IT