Hi all,
I am basically doing a select base on a specific date
eg,
SELECT * FROM tbl WHERE sent_dt LIKE '%Feb 23 2001%'
Works fine but the problem occurs when i try to search for Dates that have only 1 digit for the day, for example
SELECT * FROM tbl WHERE sent_dt LIKE '%Feb 7 2001%'
and it does not return any records. I am 100% sure that there are records dated Feb 7 2001.
What could be wrong? I am using SQL 6.5. Any help is greatly appreciated.
YJ
I am basically doing a select base on a specific date
eg,
SELECT * FROM tbl WHERE sent_dt LIKE '%Feb 23 2001%'
Works fine but the problem occurs when i try to search for Dates that have only 1 digit for the day, for example
SELECT * FROM tbl WHERE sent_dt LIKE '%Feb 7 2001%'
and it does not return any records. I am 100% sure that there are records dated Feb 7 2001.
What could be wrong? I am using SQL 6.5. Any help is greatly appreciated.
YJ