如何在Access2007中使用日期类型查询数据
时间:2014-09-22 15:00:53
收藏:0
阅读:343
select * from 表 where datediff("d",日期型的字段,#2008-09-01#)=0
或
select * from 表 where 日期型的字段 >= #2008-09-01 00:00:00# and 日期型的字段 <= #2008-09-01 23:59:59#
将单引号换成#号
原文:http://www.cnblogs.com/hailexuexi/p/3985829.html
评论(0)