HOW TO CHECK THE EMIL ADDRESS EXIST IN THE DATABASE OR NOT
HOW TO CHECK THE EMIL ADDRESS EXIST IN THE DATABASE OR NOT
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Akkiraju IvaturiPosted Aug 18, 2012, 1:04 AM
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.