SQLServer时间间隔

来源:互联网 发布:mac book 12 编辑:程序博客网 时间:2024/06/11 16:57
select DateDiff(day,cast('2012-07-26' as datetime),cast('2012-02-02' as datetime))