时间:2021-07-01 10:21:17 帮助过:42人阅读
获取指定日期的记录 1.select Field1 from A where format("yyyy-MM-dd",Field1)=#2011-10-07# 有时不能获取记录 2.select Field1 from A where Year(Field1)=2011 and Month(Field1)=10 and Day(Field1)=7 可以获取正确记录 3.select Field1from A where Da
获取指定日期的记录
1.select Field1 from A where format("yyyy-MM-dd",Field1)=#2011-10-07#
有时不能获取记录
2. select Field1 from A where Year(Field1)=2011 and Month(Field1)=10 and Day(Field1)=7
可以获取正确记录
3.select Field1 from A where DateDiff('d',boaddate,#2011-10-7#)=0
可以获取正确记录