1 Answers
Types of Triggers in Oracle PL/SQL
Triggers in Oracle PL/SQL are categorized into several types based on when they are fired. The different types include:
- BEFORE Triggers: These triggers are fired before the execution of a DML (Data Manipulation Language) statement.
- AFTER Triggers: These triggers are fired after the execution of a DML statement.
- INSTEAD OF Triggers: These triggers are fired in place of the triggering action for views.
- ROW Triggers: These triggers are fired for each row affected by the triggering statement.
- STATEMENT Triggers: These triggers are fired once for each triggering statement regardless of the number of rows affected.
- COMPOUND Triggers: These triggers combine various types of triggers, providing more advanced functionality.
Understanding the different types of triggers in Oracle PL/SQL is essential for efficient database management and optimizing system performance.
Please login or Register to submit your answer