Reputation: 105
I am a begineer in asp.net , I am creating a login form which access a database to validate user account. I have used basic SQL queries (select with where clause) to validate the account , is it possible to use Trigger Statement ?
Upvotes: 1
Views: 48
Reputation: 2612
You cannot use trigger to validate an account. Actually a trigger is like a stored procedure that automatically executes when an event (INSERT, UPDATE, or DELETE) occurs in the database server.
To know more about trigger, check this link: https://msdn.microsoft.com/en-us/library/ms189799.aspx
Upvotes: 2