What is Trigger in SQL Server?
A trigger is especial type of Stored Procedure that executes when certain
action performed on Table like:-
- Insert
- Delete
- Update
It’s a Database Object which is bound to a table and is executed automatically.
There are Two type of Trigger:-
- After Trigger(For Trigger)
- Instead of Trigger
After Trigger
are divided into Three type:-
- For Insert
- For Delete
- For Update
Instead of Trigger
are divided into Three type:-
- Instead of Insert
- Instead of Delete
- Instead of Update
0 comments:
Post a Comment