Diff. types of triggers..

Answer Posted / k. a. purushotham

Basically there are three types of triggers,

Row and statement triggers
Before and after triggers
Insteadof triggers

Possible combination of these triggers
Before row trigger
After row trigger
Before statement trigger
After statement trigger

Instead of trigger is mainly for a view.
if we want to write a trigger in such a way that the
trigger action is to be on underlying base tables of a view,
when an DML statement (insert,update,delete)is issued

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example for getXXX method?

750


What do you understand by jdbc datasource?

784


Differentiate between a statement and a preparedstatement.

691


Why did my jdbc code throw a rollback sqlexception?

674


What is jdbc in java?

669


What is DML?

750


How can we retrieve the file in the oracle database?

737


Is java a database?

705


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

726


What is the function of drivermanager class?

810


What is jdbc and why is it required?

693


Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

787


What are jdbc?

720


What is the return type of class.forname() method?

719


Can resultset be null in java?

686