时间:2021-07-01 10:21:17 帮助过:26人阅读
自动更新日期列的值为最大日期的触发器 无 CREATE TRIGGER autosettimeasmaxON dbo.statusafter INSERT, UPDATEAS UPDATE dbo.status SET mytime = '9999-12-31 23:59:59.000' WHERE id IN(SELECT id FROM inserted)
自动更新日期列的值为最大日期的触发器 <无>CREATE TRIGGER autosettimeasmax ON dbo.status after INSERT, UPDATE AS UPDATE dbo.status SET mytime = '9999-12-31 23:59:59.000' WHERE id IN(SELECT id FROM inserted)