Link to home
Start Free TrialLog in
Avatar of FullWilliams
FullWilliams

asked on

CHARINDEX Not working

Hi Experts,

This query isn't working for me.

SELECT     CHARINDEX(INDIVIDUAL_EMAIL, '@', 1) AS Expr1
FROM         TBL_INDIVIDUAL

Basically I want find all the test email addresses w/o "@" in the email address and delete them.  I figured if the CHARINDEX returned 0 I could delete, but I'm not getting address addresses that have the "@" at all!

Any help is appreciated.

Thanks,
Full Williams
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FullWilliams
FullWilliams

ASKER

Thanks!