Given the date, 2009/04/30, in one of the rows I want to retrieve all dates <= 2009/04/30 and >= 2009/04/30. The sql statements are like this:
select dateColumn from someTable where dateColumn <= '2009/4/30'
select dateColumn from someTable where dateColumn >= '2009/4/30'
The above 2 statements run but the first statement returns all dates below 2009/04/30, it seems to be excluding the date even though it appears in the DB. Any idea why this may be happening? How would I compare the date portion of the DateTime object in sql?