What are Triggers?

Answer Posted / yogesh

Trigger is an automatic action of databse which invoke a
program to perform based on perticular event at perticular
time

There are six type of triggers:
Insert + Before
Insert + After
Update + Before
Update + After
Delete + Before
Delete + After

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between sflclr and sflinz?

1033


what the purpose of ovrdta, ovrata keywords?

1170


how can you execute a command from within an rpg program without calling a clp program?

1193


what is the use of jdftval in join logical file?

1111


how can you detect and handle a record lock situation?

1214






how will you find a string using pdm?

691


what are the important factors in error message subfile ?

565


in conjunction with what other keyword must ovrdta and ovrata be used?

910


Difference Between Call & Sbmjob?

772


what is message subfile?

1049


How can we update a specific field in RPG?

927


how can you detect overflow for a print program that prints multiple lines per cycle?

960


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1035


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

549


why is the declare cursor statement is used for?

628