I would like to convert the following SQL table:
User_Index Emails
------------------------
5 test@db.com;test1@db.com
10 re2@db.com;re3@db.com
into:
User_Index Emails
------------------------
5 test@db.com
5 test1@db.com
10 re2@db.com
10 re3@db.com
I am using SQL Server 2008 so SPLIT_LINES
function does not work, I am trying to split the emails column by the semi-colon value.