Additional SQL Server features and topics not covered by specific categories
Hi @Hema Ramachandran ,
There isn't a built in mechanism in SQL Server for validating email addresses.
you can use a regex to validate the emails but with limited accuracy, like:
SELECT EmailAddress AS ValidEmail
FROM Contacts
WHERE EmailAddress LIKE '%_@__%.__%'
AND PATINDEX('%[^a-z,0-9,@,.,_,\-]%', EmailAddress) = 0
GO
How to Validate Email Address in SQL Server?
Microsoft SQL Server email validation
-------------
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.