A
Anja
Hi everyone,
I want to write a simple SQL statement that does a comparison on a date
field.
For a simple test, I have the following SQL Statement:
SELECT * FROM Records_T where TransactionDate =#12/09/2006#
I have a record that fulfills the criterion but this query returns
nothing.
I thought that something was wrong with my query but then I tried:
SELECT * FROM Records_T where TransactionDate =#25/09/2006#
But this returns the record!!!! This is bizarre, the query works for
one data set but not for the others!!
Any pointers on what is going on here? I am totally lost...do I have to
format the date string as something else?
Please help!
Cheers,
Anja
I want to write a simple SQL statement that does a comparison on a date
field.
For a simple test, I have the following SQL Statement:
SELECT * FROM Records_T where TransactionDate =#12/09/2006#
I have a record that fulfills the criterion but this query returns
nothing.
I thought that something was wrong with my query but then I tried:
SELECT * FROM Records_T where TransactionDate =#25/09/2006#
But this returns the record!!!! This is bizarre, the query works for
one data set but not for the others!!
Any pointers on what is going on here? I am totally lost...do I have to
format the date string as something else?
Please help!
Cheers,
Anja