I have a table which contain two columns(ID, Email) and values as below.
ID |email
1 |abc@gmail.lk;efg@gmail.lk;rrr@hotmail.com
2 |xyz@gmail.com;eee@gmail.lk
The problem is i need to retrieve those values as below by using sql server.
ID |email
1 abc@gmail.lk
1 efg@gmail.lk
1 rrr@hotmail.com
2 xyz@gmail.com
2 eee@gmail.lk