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: sysdate

Re: sysdate

From: Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl>
Date: 1999/03/31
Message-ID: <7dtbpt$bp6$1@weber.a2000.nl>#1/1

Marc Mazerolle wrote
> where mytable.start_date between sysdate and sysdate + 7

Ehhh, why search for a start date from now, until 7x24 hours from now?

> > select abc
> > from xyz, dual
> > where activitydate = sysdate

    where trunc(activitydate) = trunc(sysdate)

Arjan. Received on Wed Mar 31 1999 - 00:00:00 CST

Original text of this message

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