// 达梦触发器 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 BEGIN UPDATE "K_BASIC"."B_PROJECT_INVESTMENT" SET CLASSIFY_CODE = NEW."CODE_NUM" WHERE ENGINEERING_CLASSIFY_ID = NEW."ID"; END;
标签:触发器,CODE,达梦表级,ENGINEERING,BASIC,NEW,ROW From: https://www.cnblogs.com/databank/p/18198284