更新类型触发器:
ALTER TRIGGER [dbo].[tag_T_Bus_OutBuys] ON [dbo].[T_Bus_OutBuys] AFTER UPDATE
as begin Declare @PostId int
select @PostId=Post_Id from inserted
update T_Bus_OutBuys set outtime=getdate() from Inserted i where T_Bus_OutBuys.id=i.id end
触发器
最新推荐文章于 2020-11-20 09:57:19 发布