How many types of database triggers can be specified on a
table ? What are they ?
Answers were Sorted based on User's Feedback
Answer / nilesh
There are 2 types of triggers as per the execution goes
they are ROW LEVEL and STATEMENT LEVEL TRIGGERS
Then as per action triggers can be executed for three
actions as INSERT, UPDATE and DELETE
and trigger can also be executed before the action or after
the action . So with this we can have 12 diffrent triggers
they are: (6 Row level, 6 statement level)
ROW LEVEL
AFTER INSERT , BEFORE INSERT (2 Nos.)
AFTER UPDATE , BEFORE UPDATE (2 Nos.)
AFTER DELETE , BEFORE DELETE (2 Nos.)
STATEMENT LEVEL
AFTER INSERT , BEFORE INSERT (2 Nos.)
AFTER UPDATE , BEFORE UPDATE (2 Nos.)
AFTER DELETE , BEFORE DELETE (2 Nos.)
Is This Answer Correct ? | 17 Yes | 4 No |
Answer / biswajit biswal
We can specified 28 Database triggers on a single table.
Before Row level insert
After Statement level update
Delete
insert or update
update or delete
insert or delete
insert or update or delete
2*2*7=28
Is This Answer Correct ? | 1 Yes | 6 No |
What is the difference between a primary key and a unique key?
What does “select count(*) from tab” result?
15 Answers IBM, Student, Wipro,
In pl/sql, what is bulk binding, and when/how would it help performance?
What does count (*) mean in sql?
What are the different types of dbms?
How many sql core licenses do I need?
How to run sql statements with oracle sql developer?
how can create data base link for tow servers (scott schema) give examples plz
Can we call procedure in select statement?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
explain the difference between delete , truncate and drop commands? : Sql dba
What is the use of <> sql?