I have de created out of domain exclusion template and de contains only one field 'domain', and have inconsistent values like 'gmail.com' '@hotmail.com' '%yahoo%'.
I would like to use in SQL as suppression but could not find a way. I tried using in where clause
Where emailaddress not in (select domain from exclusionde)
. I also tried using not exists. I tried WHERE RIGHT(EmailAddress, LEN(EmailAddress) - CHARINDEX('@', EmailAddress)) not in (select domain from exclusionde)
but it's not working.
Any idea how to make it work via SQL?
Thanks.