Created
September 28, 2022 16:29
-
-
Save coulterpeterson/024a48db1c128346df22dc0ee3cb1e80 to your computer and use it in GitHub Desktop.
Find invalid emails in MSSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM [Accounts] | |
WHERE EmailType IN ('HOME', 'EC_EMAIL', 'BUS') AND Active = 1 AND EmailAddress NOT LIKE '%_@__%.__%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment