select emailaddress from contact where ((emailaddress = ''
-This looks for entries where email was left blank
I am having trouble making the code to make sure "_" does no appear after "@". If anyone can help me out, thanks.
WHERE ((SELECT CHARINDEX('@', emailaddress) +1 ) > (SELECT CHARINDEX('_', emailaddress, (SELECT CHARINDEX('@', emailaddress)))))