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 中用单引号一样的道理。
Access 时间段查询
最新推荐文章于 2025-05-29 09:59:17 发布
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 中用单引号一样的道理。