Derby Create Trigger
The Derby Create Trigger Tool allows users to create triggers for a database. The following example is output for Derby.
CREATE TRIGGER APP.TEST_TRIGGER
-- AFTER | NO CASCADE BEFORE
-- INSERT | DELETE | UPDATE [ OF column_list ]
ON -- table_name
-- REFERENCING OLD AS name REFERENCING NEW AS name
FOR EACH -- ROW | STATEMENT
MODE DB2SQL
--insert trigger body here