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 the reports view in oracle sql developer?

543


how to return query output in html format? : Sql dba

651


Why do we need a foreign key?

551


Show the two pl/sql cursor exceptions.

614


What is a clob in sql?

569






What are different types of indexes?

509


What is the difference between nvl function, ifnull function, and isnull function?

590


What is the difference between the repeatable read and serializable isolation levels? : Transact sql

534


What is scope and visibility in PL/SQL?

598


What is transaction control language (tcl)?

637


Write a unique difference between a function and a stored procedure.

533


What is a primary key example?

515


What is compound trigger?

560


What program will open a mdb file?

500


what is “go” in t-sql? : Transact sql

603