










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth exploration of active databases, focusing on the concepts of triggers, events, and conditions. Learn about event-condition-action rules, different types of events, event granularity, and immediate and deferred consideration. Discover how to create triggers using sql3 and oracle syntax, and explore timing options and triggering statements. Understand the implications of mutating tables and constraining tables, and learn about trigger firing order and consistency and termination.
Typology: Lecture notes
1 / 18
This page cannot be seen from the preview
Don't miss anything!











CREATE TRIGGER name {BEFORE|AFTER} ON table [REFERENCING ] [FOR EACH [ROW|STATEMENT]] [WHEN (condition)]
{BEFORE|AFTER|INSTEADOF}
{DELETE|INSERT|UPDATE[OF column_list]} ON table_name
[ REFERENCING [ OLD AS old_var ] [ NEW AS new_var ] ]