Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Problem with query with dates in where clause
Hi List,
We have problems in queries which have dates in where clause.
Select * from Emp
where hiredate = sysdate;
Select * from Emp
where hiredate = '19-JUN-00';
The above two queries are not returning any records even though there are some records in the table satisfying the criteria.
Can someone explain why it is so. We don't want to use to_char while comparing.
Thanks in advance, Received on Mon Jun 19 2000 - 02:15:42 CDT
![]() |
![]() |