如何在Access2007中使用日期类型查询数据

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#

将单引号换成#号
原文地址:https://www.cnblogs.com/hailexuexi/p/3985829.html