CREATE OR REPLACE TRIGGER 触发器名称 AFTER INSERT ON a FOR EACH ROWBEGIN INSERT INTO b VALUES(:new.字段, :new.字段......);END;
create or replace trigger trg_a after insert ON a for each rowbegin INSERT INTO b values(:NEW.ID,:NEW.NAME);end;
create trigger tri after insert on afor statementbegininsert into b select * from a;end;这个前提是a表与b表的结构一致
CREATE OR REPLACE TRIGGER TRG_aI AFTERINSERT ON a FOR EACH ROWBEGIN INSERT INTO b(x,x)VALUES(x,x)end;