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 table space in db2?

584


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1715


Define db2.

672


What is lock escalation in db2?

574


How do I delete a column in db2?

680






How do I change the column size in db2?

593


What is null in db2?

575


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1580


Give the name of some fields form sqlca.

614


What is view db2?

626


List out the data types available.

704


Are view updateable?

629


i want to maintain uniqueness on pdf without make lf??????????

1635


How many databases can be created inside an instance in db2 ?

601


How do I delete a table in db2?

651