HOW TO CHECK THE EMIL ADDRESS EXIST IN THE DATABASE OR NOT
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Akkiraju IvaturiRank #473 · 5.3K reputationPosted Aug 17, 2012, 9:04 PM EDT
IF Exists(Select 1 from table where emailaddress = @address)
Begin
-----
End
if you just want to query and find out then you might have to check the count number of records
select count(1) from table where emailaddress = @address
If you have any specific requirement, let me know.