Access 时间段查询

来源:互联网 发布:网络童星传媒公司 编辑:程序博客网 时间:2024/05/21 10:50

Access时间段查询,时间用“#”括起来,比如要查2008-01-01到2008-02-01的数据,时间条件要这样写Between #2008-01-01# and #2008-02-01# 或者 FDate > #2008-01-01# and FDate < #2008-02-01#,这个和SQL Server 中用单引号一样的道理。