标签:
SELECT DATEDIFF(day,‘2008-12-29‘,‘2008-12-30‘) AS DiffDate
结果:
DiffDate
1
Datedifff返回两个日期之间的天数
原文地址:http://www.cnblogs.com/srxhmxx/p/5148606.html