I am trying to find a set of results within two dates and I am using the follwing query which is failing:-
select * from Employee where PTW BETWEEN '24/07/2002' AND '24/07/2001'
The error I am getting is:-
The conversion of CHAR to DATETIME resulted in a DATETIME value out of range.
The column has a data type of DateTime and I am using SQL 6.5.
Any help will be much appreciated.
select * from Employee where PTW BETWEEN '24/07/2002' AND '24/07/2001'
The error I am getting is:-
The conversion of CHAR to DATETIME resulted in a DATETIME value out of range.
The column has a data type of DateTime and I am using SQL 6.5.
Any help will be much appreciated.