Question { 21344 }
WHAT IS TRIGGERS IN SQL? AND WHAT IS THE BENIFIT?
Answer
A trigger is a stored procedure that goes into effect when
you insert, delete, or update data in a table. You can use
triggers to perform a number of automatic actions, such as
cascading changes through related tables, enforcing column
restrictions, comparing the results of data modifications,
and maintaining the referential integrity of data across a
database.