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