Charindex is a great function for working with emails:
left(Email, charindex(‘@’, email) -1) + ‘@invalidemail.com’ as email,
Charindex is a great function for working with emails:
left(Email, charindex(‘@’, email) -1) + ‘@invalidemail.com’ as email,