8.6 What are database triggers and what could they be used for?
8.7 Discuss the differences between BEFORE, AFTER, and INSTEAD OF triggers. Give examples
to illustrate your answers.
The BEFORE keyword indicates that the trigger should be executed before an insert is
8.8 Discuss the differences between row-level and statement-level triggers. Give examples to
illustrate your answers.
8.9 Discuss the advantages and disadvantages of database triggers.
Advantages of triggers include:
Elimination of redundant code: Instead of placing a copy of the functionality of the
trigger in every client application that requires it, the trigger is stored only once in the