摘要: --查询当天:select * from info where DateDiff(dd,datetime,getdate())=0--查询24小时内的:select * from info where DateDiff(hh,datetime,getDate())<=24--本月记录SELECT *... 阅读全文
posted @ 2014-04-18 11:08 ``炯`` 阅读(23556) 评论(0) 推荐(1) 编辑