// 达梦触发器CREATE OR REPLACE TRIGGER "K_BASIC"."B_BASE_ENGINEERING_CATEGORY TO B_PROJECT_INVESTMENT" AFTER UPDATE OR INSERT ON "K_BASIC"."B_BASE_ENGINEERING_CATEGORY" REFERENCING OLD ROW AS "OLD" NEW ROW AS "NEW" FOR EACH ROW BEGINUPDATE"K_BASIC"."B_PROJECT_INVESTMENT"SETCLASSIFY_CODE = NEW."CODE_NUM"WHEREENGINEERING_CLASSIFY_ID = NEW."ID"; END;