摘要: 需要减掉几年,就设getdate()与getdate()的年作比较比如,今天是07-12-18,我想update ctime栏位到06年,则:updateoldsetctime=ctime-datediff(day,'06-12-18',getdate()) 阅读全文
posted @ 2007-12-28 09:47 中国的Amadeus 阅读(177) 评论(0) 推荐(0)