CREATE TRIGGER MyLib/MyTrigger
AFTER Update ON MyFile
REFERENCING NEW ROW AS NRow
OLD ROW AS ORow
FOR EACH ROW MODE DB2SQL
BEGIN
INSERT INTO MySpyFile ( Col1, Col2, ..., ColN )
VALUES ( NRow.Col1, NRow.Col2, ..., NRow.ColN );
END
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.