Interviews2 answers
What is a trigger?
2 Answers
A trigger is a special types of stored procedure that automatically runs when a language event execute
We can say that an action causing the automatic invocation of a procedure, for instance to preserve {referential integrity}.
A triggers goes into effect when a user attempts to modify data with an insert, delete, or update command. A trigger can instruct the system to take any number of actions when a specified change is attempted.
AksarPosted Oct 21, 2008, 9:23 AM EDT
Triggers are basically used to implement business rules. Triggers is also similar to stored procedures. The difference is that it can be activated when data is added or edited or deleted from a table in a database.
Ravi KumarPosted Jul 13, 2006, 2:30 AM EDT
