日期函数

select * from css where datediff(dd,a,getdate())=0

 datediff(dd,小日期,大日期) 结果为正,否则为反。

posted @ 2013-04-05 20:25  小歹毒  阅读(134)  评论(0)    收藏  举报