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 parameter substitution in sql?

748


Mention what does plv msg allows you to do?

849


How to Declare Fixed Length String Value In PL SQL

837


what is online transaction processing (oltp)? : Sql dba

707


What are the various restrictions imposed on view in terms of dml?

689






Explain lock escalation? : Transact sql

865


What are the topics in pl sql?

694


What is trigger in flip flop?

723


What is procedure and function in sql?

736


How long will it take to learn pl sql?

684


How do I order by ascending in sql?

737


What do you mean by “trigger” in sql?

788


What is benefit of creating memory optimized table?

696


what is bdb (berkeleydb)? : Sql dba

750


What are the differences between in and exists clause?

781