What's the best in performance to determined if an item exist or not specially if the table contain more than 700,000 row
if (Select count(id) from Registeration where email='[email protected]') > 0
print 'Exist'
else
print 'Not Exist'
OR
if Exists(Select id from Registeration where email='[email protected]')
print 'Exist'
else
print 'Not Exist'