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: LIKE Clause with dates?

Re: LIKE Clause with dates?

From: PaulCinVT <paulcinvt_at_aol.com>
Date: 24 Jun 1999 14:18:16 GMT
Message-ID: <19990624101816.17961.00001789@ngol01.aol.com>

select hiredate from emp
where hiredate BETWEEN
 TO_DATE('01-MAR-1999','DD-MON-YYYY')
AND TO_DATE('31-MAR-1999','DD-MON-YYYY'); The only reason for the TO_DATE is to cover the change in century coming up...

And if you want to get tricky....you could add a LAST_DAY to the where clause....

Paul in VT Received on Thu Jun 24 1999 - 09:18:16 CDT

Original text of this message

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