what is a trigger and types of triggers

Answer Posted / anitha

A trigger is a set of actions that are run automatically when a specified change operation is performed on a specified table. The change operation can be an SQL INSERT, UPDATE, or DELETE statement, or an insert, update, or delete high level language statement in an application program
types of triggers.
• Before delete trigger
• Before insert trigger
• Before update trigger
• After delete trigger
• After insert trigger
• After update trigger
• Read only trigger (external trigger only)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a buffer in memory?

809


List down the data types in the db2 database.

820


What is reorg and runstats in db2?

956


How do you pull up a query which was previously saved in qmf?

914


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2678


What happens in bind step in a db2 program?

736


What is db2 connect?

807


How do I delete a table in database?

795


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

858


What is a db2 cursor?

811


How to find the number of rows in db2 tables?

819


Name the lockable units in DB2?

905


Where do you specify them?

885


what is the responsibility of the construction superintendent

1891


What is drop table?

782