日期:2014-05-18 浏览次数:20638 次
go create trigger test on A forof insert as if exists(select 1 from inserted where id=1) begin delete from A where id=1 print '不允许插入ID=1的数据' end