
1个回答
展开全部
CREATE TRIGGER 触发器名
ON 表名
AFTER update
AS
if update(enddate)
begin
update 要更新的表 set sindate=更新的值,enddate=更新的值
from Deleted d,Inserted i
where 要更新的表.关联字段=d.关联字段
end
GO
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
CREATE TRIGGER 触发器名
ON 表名
AFTER update
AS
if update(enddate)
begin
update 要更新的表 set sindate=更新的值,enddate=更新的值
from Deleted d,Inserted i
where 要更新的表.关联字段=d.关联字段
end
GO
类别
我们会通过消息、邮箱等方式尽快将举报结果通知您。
说明
0/200