标签:
-- 创建Insert触发器(delete,update同理) DROP TRIGGER IF EXISTS t_afterinsert_on_tab1; CREATE TRIGGER t_afterinsert_on_tab1 AFTER INSERT ON tab1 FOR EACH ROW BEGIN insert into tab2(tab2_id) values(new.tab1_id); END;
标签:
原文地址:http://my.oschina.net/moks/blog/518666