触发器创建create trigger TestTriggerInserton Test for insertas insert into TempLog(tablename,pks,ad
触发器创建
create trigger TestTriggerInsert on Test for insert as insert into TempLog(tablename,pks,adddate,isUsed,options) select 'Test', 'id='+i.id, getdate(), 'N', 'update' from Test t, inserted i where t.id= i.id ;