CREATE OR REPLACE TRIGGER DMLFCOTRIGGER AFTER DELETE ON CMPFCOClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlFCOtrigger disable; CREATE OR REPLACE TRIGGER DMLSCOTRIGGER AFTER DELETE ON CMPSCOClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlSCOtrigger disable; CREATE OR REPLACE TRIGGER DMLSCOCfgTRIGGER AFTER DELETE ON CMPSCOCfgClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlSCOCfgtrigger disable; CREATE OR REPLACE TRIGGER DMLSCOMapTRIGGER AFTER DELETE ON CMPSCOMapClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlSCOMaptrigger disable; CREATE OR REPLACE TRIGGER DMLSCOPrpTRIGGER AFTER DELETE ON CMPSCOPrpClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlSCOPrptrigger disable; CREATE OR REPLACE TRIGGER DMLSYSTRIGGER AFTER DELETE ON CMPSYSClasses FOR EACH ROW BEGIN insert into changeLog(workspaceID, elementid, action) values(:old.workspaceID,:old.i_1,1); EXCEPTION when DUP_VAL_ON_INDEX then update changeLog set action = 1 where elementid = :old.i_1; END; / alter trigger dmlSYStrigger disable;