日期:2014-05-17 浏览次数:20575 次
CREATE TRIGGER [TRIGGER_name] ON [X] for INSERT, UPDATE AS begin declare @ID int set @ID=(select ID from inserted) if @ID=1 insert into B..Y select ******* ---插入什么数据?自己写呗 end