Comparing date in Access SQL query

后端 未结 2 843
遥遥无期
遥遥无期 2021-02-14 04:37

I\'m having trouble with Access sql query. Im new to this so bieng a rookie its difficult to figure out the syntax. below is my query.

SELECT *
FROM BookingMaste         


        
2条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 05:08

    Unless you are working in a US locale, it is best to use a year, month, day format for dates:

    SELECT *
    FROM BookingMaster where JourneyDate = #2012/08/01#;
    

提交回复
热议问题