Create Trigger trtest
On test --在test表中创建触发器
for Update --为什么事件触发
As --事件触发后所要做的事情
DECLARE @a int
SET @a = select a from updated
if (@a=1)
begin
ROLLBACK
end