date function [message #20895] |
Fri, 28 June 2002 03:14 |
Raju
Messages: 74 Registered: March 1999
|
Member |
|
|
Hi
Iam unable to get the output using this query.
select * from prichan where createdt=to_date('28-JUN-02','DD-MON-RR')
if I use the query without where clause all the rows are displaying. what could be the problem.
regards,
raju.
|
|
|
|
Re: date function [message #20898 is a reply to message #20895] |
Fri, 28 June 2002 04:13 |
Raju
Messages: 74 Registered: March 1999
|
Member |
|
|
hi
Thanks, it is working with my table. But when I use with emp table it is not working why,
select * from emp where trunc(hiredate)=to_date('17-dec-80','DD-MON-RR')
|
|
|
|
|