U
[UKLans]Khan
Guest
Hello all,
Do you have those days when you look at a bit of code so much that you can't see the problem
I need to select (in the statement below) all items that where entered before the date in the variable, it doesn't come up with an error but it also doesn't bring up the record I know are there.
The funny thing is, if I change it to >= TheVar it works, just doesn't like the <= thevar
Here's the little bugger
I have changed the table names.
Thanks for any help guys,
Khan
Do you have those days when you look at a bit of code so much that you can't see the problem
I need to select (in the statement below) all items that where entered before the date in the variable, it doesn't come up with an error but it also doesn't bring up the record I know are there.
The funny thing is, if I change it to >= TheVar it works, just doesn't like the <= thevar
Here's the little bugger
select * from Table1 INNER JOIN Table2 ON (Table1.fk_id = Table2.P_id) where fk_a_id =1 and The_Dte < 30/04/2003
I have changed the table names.
Thanks for any help guys,
Khan