如何在SQL中按時間段查詢數據
sql server:
select * from 表 where 發生日期>'2019/1/17' and 發生日期<'2019/1/18'
如果用這個段查詢access數據庫,就會出現報錯:標准表達式中數據類型不匹配
access:
select * from 表 where 發生日期>#2019/1/17# and 發生日期