sql 触发器 修改某一列触发

来源:互联网 发布:常熟学淘宝在哪里 编辑:程序博客网 时间:2024/06/05 05:01

select * from chldb.dbo.test

update test set cid='888' where cid=47030

create trigger  tri_mytri
on test
    for update
as
if UPDATE(cname)
select GETDATE()