sql access how to return between dates

前端 未结 4 2061
迷失自我
迷失自我 2020-12-11 18:29

How do I specify a date range in MS Access? Is the below query correct? Do I have to put \"2/1/2010\" in quotes? Or do I have to do something like date(2/

4条回答
  •  死守一世寂寞
    2020-12-11 19:09

    AND ([Occurrence Date] Between #2/1/2010# and #2/28/2010#
    

    This is how you tell Access, to interpret something as date time.

提交回复
热议问题