what is a trigger and types of triggers

Answer Posted / satty

trigger is a set of actions that will be executed or implemented , when a defined event occur. triggering events are 1.insert, 2.update, 3.delete
triggers can be defined for a specific table and once defined then it is automatically active.
triggers are used to do a data validation and to maintain data integrity.
types of triggers:
before trigger and an after trigger.
triggers information can be stored in the sysibm.systriggers

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a cursor in programming?

835


How to retrieve rows from a db2 table in embedded sql?

1009


What is the physical storage length of time data type?

901


What is the connection string to connect to the DB2 Database ?

877


What is database reorganization?

844


How do you select a row using indexes in db2?

859


How is deadlock resolved?

849


Is db2 a programming language?

805


What is dbrm? What it contains?

920


What is cobol db2?

751


Is db2 relational database?

753


Highlight all the advantages that are attached to a package.

894


How connect db2 database to datastage?

999


Give a brief description of db2 isolation levels?

799


Are views updateable?

843