【Vegas原创】Update Time类型的方法

需要减掉几年,就设getdate()与getdate()的年作比较
比如,今天是07-12-18,我想update ctime栏位到06年,则:

update old set ctime=ctime-datediff(day,'06-12-18',getdate())
原文地址:https://www.cnblogs.com/amadeuslee/p/3744572.html