Professional Documents
Culture Documents
CMPSC245
Triggers
• Trigger is a PL/SQL block associated with a specific
action taken on a table or view
• Automatically executed when a particular event
occurs
– Insert
– Update
– Delete
• For example, whenever an employee’s salary is
changed, the change must be recorded in a logging
table
Triggers