修改t1表,触发t2表的某个字段的修改
CREATE OR REPLACE TRIGGER TRIGGER_t1_u
AFTER UPDATE ON t1---当修改了T1时触发
FOR EACH ROW
BEGIN
update t2 set col1 = :new.col1,col2=:new.col2,...
where id = :old.id; --
修改t1表,触发t2表的某个字段的修改
CREATE OR REPLACE TRIGGER TRIGGER_t1_u
AFTER UPDATE ON t1---当修改了T1时触发
FOR EACH ROW
BEGIN
update t2 set col1 = :new.col1,col2=:new.col2,...
where id = :old.id; --