0
Just break the emails using STRING_SPLIT
and then an Index with the result of SELECT
, thus:
INSERT INTO EMAILS(emails)
SELECT A.value AS EMAIL_QUEBRADO
FROM EMAIL X
OUTER APPLY STRING_SPLIT(X.email, ',') AS A
0
3
Just break the emails using STRING_SPLIT
and then an Index with the result of SELECT
, thus:
INSERT INTO EMAILS(emails)
SELECT A.value AS EMAIL_QUEBRADO
FROM EMAIL X
OUTER APPLY STRING_SPLIT(X.email, ',') AS A
Browser other questions tagged sql
You are not signed in. Login or sign up in order to post.
Thank you, I tested it here and it worked ;)
– Diego Luques