This works...
select *
from events
where user_id = 47
and event_date Between #03/01/2015# And #03/31/2015#
But I get a syntax error when the month Is February or any other EVEN number.
select *
from events
where user_id = 47
and event_date Between #02/01/2015# And #02/31/2015#
Error:
Syntax error in date in query expression 'user_id = 57 and event_date Between #02/01/2015# And #02/31/2015#
Can't for the life of me figure out why ??
I'm using an Access database and has been working fine for 3 years up until today, possibly saved in a later version of Access to the original.
#03/01/2015#is an invalid constant for a date in (standard) SQL. Which DBMS are you using?