How many types of database triggers can be specified on a
table ? What are they ?
Answer Posted / 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 |
Post New Answer View All Answers
What is sap sql?
What is the best sql course?
How insert into statements in sql?
What is the difference between mdf and ndf files?
Can we use ddl statements in stored procedure sql server?
How to handle bulk data?
Differentiate between pl/sql and sql?
what is a unique key ? : Sql dba
Define select, insert, create, delete, update, drop keywords
How do you declare a constant?
How do I save the results of sql query in a file?
What does the sign mean in sql?
Can a varchar be a primary key?
How to set up sql*plus output format in oracle?
What is Collation Sensitivity ? What are the various type ?