What are the types of triggers ?

Answer Posted / sarat

There are 4 types of Triggers

# Row Triggers and Statement Triggers
# BEFORE and AFTER Triggers
# INSTEAD OF Triggers
# Triggers on System Events and User Events

A row trigger is fired each time the table is affected by
the triggering statement. A statement trigger is fired once
on behalf of the triggering statement.

BEFORE triggers run the trigger action before the triggering
statement is run. AFTER triggers run the trigger action
after the triggering statement is run.

INSTEAD OF triggers provide a transparent way of modifying
views that cannot be modified directly through DML
statements (INSERT, UPDATE, and DELETE).

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an intersect?

650


What is gpt format?

502


What are triggers and its types?

551


How many aggregate functions are available there in sql?

526


What is plpgsql language?

529






Is sql a backend?

545


what are the advantages of mysql in comparison to oracle? : Sql dba

525


How does cross join work in sql?

533


How do you copy a table in sql?

560


What is cursor in pl sql with examples?

479


What is sqlca in db2?

533


Is full outer join same as cross join?

501


How do you break a loop in pl sql?

519


What is coalesce sql?

509


What is the use of desc in sql?

492