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: Help with date query

Re: Help with date query

From: <knightconsulting_at_gmail.com>
Date: 8 May 2007 08:24:59 -0700
Message-ID: <1178637899.254334.168690@l77g2000hsb.googlegroups.com>


hmm if you want to ensure it only returns the previous day i would write it like this:

select * from mytable where entry_date between trunc(sysdate-1) and trunc(sysdate) Received on Tue May 08 2007 - 10:24:59 CDT

Original text of this message

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