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: Alex Filonov <afilonov_at_yahoo.com>
Date: 2 Apr 2002 12:13:10 -0800
Message-ID: <336da121.0204021213.18087440@posting.google.com>


Helen Pai <hpya78_at_postoffice.pacbell.net> wrote in message news:<3CA6206C.D7F8CC05_at_postoffice.pacbell.net>...
> 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

Don't listen to anybody. Check how is environment variable NLS_DATE_FORMAT set. It should be DD-MON-RR for your statement to work right. If not sure, use to_date function with above mentioned format mask. Received on Tue Apr 02 2002 - 14:13:10 CST

Original text of this message

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