日期:2014-05-17 浏览次数:20484 次
CREATE TRIGGER reminder ON Sales.Customer AFTER INSERT, UPDATE, DELETE AS insert into ta(new,old) select a.value as newvalue,b.value as oldvalue from inserted a full outer join deleted b on a.id = b.id GO