1、计算相差天数:select datediff( dd,'2012-01-09 23:59:59' ,getdate())
转载于:https://www.cnblogs.com/studyshine/archive/2012/01/10/2318076.html
1、计算相差天数:select datediff( dd,'2012-01-09 23:59:59' ,getdate())
转载于:https://www.cnblogs.com/studyshine/archive/2012/01/10/2318076.html