日期:2014-05-17 浏览次数:20537 次
select count(*) from tablename where time >='2012-08-10' and time <='2012-08-20' ------解决方案--------------------
select count(*) from tablename where datediff(dd,time,getdate())=0