I have 2 fields email1 and email2 in a Email Table. These fields contain multiple email addresses separated by commas. There can be up to a 6 emails in the 2 fields.
For Example:
Email1 can be "joe@joe.com, joe2@joe.com" and Email2 can be "joe3@joe.com, joe5@abc.com"
Concataned value of Email1 and Email2 would be "joe@joe.com, joe2@joe.com, joe3@joe.com, joe5@abc.com"
I want to split the emails in email1 and email2 (sepaated by commas) into multiple fields emailM1, emailM2, emailM3, emailM4, emailM5, and emailM6. If the total email addresses is less than 6 emails (as in the above example), emailM5 and emailM6 would be set to "".
How can I use an UPDATE sql statement to do this? Please help. Thank you in advance.
For Example:
Email1 can be "joe@joe.com, joe2@joe.com" and Email2 can be "joe3@joe.com, joe5@abc.com"
Concataned value of Email1 and Email2 would be "joe@joe.com, joe2@joe.com, joe3@joe.com, joe5@abc.com"
I want to split the emails in email1 and email2 (sepaated by commas) into multiple fields emailM1, emailM2, emailM3, emailM4, emailM5, and emailM6. If the total email addresses is less than 6 emails (as in the above example), emailM5 and emailM6 would be set to "".
How can I use an UPDATE sql statement to do this? Please help. Thank you in advance.