1 Answers
Types of triggers available in Oracle
In Oracle, there are three main types of triggers that you can use:
- Row-level triggers: These triggers are fired for each row that is affected by the triggering statement, such as an INSERT, UPDATE, or DELETE operation.
- Statement-level triggers: These triggers are fired once for each triggering statement, regardless of how many rows are affected by that statement.
- Before and after triggers: Triggers can be classified based on when they are fired - BEFORE triggers are fired before the triggering statement is executed, while AFTER triggers are fired after the triggering statement has been executed.
Each type of trigger serves a specific purpose in Oracle databases and can be useful for implementing various business logic and data integrity constraints.
Please login or Register to submit your answer