自动更新日期列的值为最大日期的触发器 无 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)