That's a pretty wierd error message since you do not have a semi colon in the ddl, which is required. I think what you are after is that you have to change your delimeter to a character other than ;
This is probably what you want:
Quote:
CREATE TRIGGER TESTER.ADASCOMCAMCALCS1
AFTER DELETE ON
TESTER.ASCOMCAMCGROUPS REFERENCING OLD AS old
FOR EACH ROW mode db2sql
BEGIN ATOMIC
DELETE from tester.dcmodellog
WHERE idval = old.MCGROUPID ;
END~
|
Dave Nance