I have to or more rows with data as one string. Below is example of two rows of data which I have
'Country: USA, Town: Washington, Street: North Wells Street, Post Code: 60614, ID: 1'
'Country: USA, Town: Chicago, Street: 26th Street NW, Post Code: 20037, ID: 2'
How to seperate strings in MS SQL to get result in table like below?
| Country | Town | Street | Post Code | ID |
|---|---|---|---|---|
| USA | Washington | North Wells Street | 60614 | 1 |
| USA | Chicago | 26th Street NW | 20037 | 2 |