syntax for querying between dates with ADO
275224Apr 14 2003 — edited Apr 14 2003Hello,
I am connecting to Oracle tables using ADO in Microsoft Access. I am not familiar with Oracle Sql. I am trying to execute the following query string but am not retrieving and records:
strSql = "SELECT COUNT(*) " _
& "FROM CCC2.CASE_EPRP WHERE CALL_DATE >= '1/1/2002' " _
& "AND CALL_DATE <= '2/1/2002'"
I can retrieve a record count if I only have the first date, but if I use the date range above the query returns zero records even though there are records for that date range. Could someone explain the correct way to write this query?
Thanks,
Rich