Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: date question

Re: date question

From: Bricklen <bricklen_at_shaw.ca>
Date: Sat, 30 Mar 2002 20:52:36 GMT
Message-ID: <3CA624CC.AB51D597@shaw.ca>


assuming you have data in that range, then rewrite you query: select ename,job,hiredate from emp where hiredate between to_date('20-FEB-81','DD-MON-RR') and to_date('01-MAY-81','DD-MON-RR');

Helen Pai wrote:
>
> Hello,
>
> why my hiredate didn't show anything?
>
> SQL> select ename, job, hiredate
> 2 from emp
> 3 where hiredate between '20-FEB-81' and '01-MAY-81';
>
> no rows selected
Received on Sat Mar 30 2002 - 14:52:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US