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: Query Against an Indexed Date Field

Re: Help: Query Against an Indexed Date Field

From: Peter Bishop <pjb_at_nortel.com>
Date: Sun, 22 Nov 1998 15:45:43 +0000
Message-ID: <365831A7.5A2079E6@nortel.com>


Thanks to Jonathan and Thomas for their responses.

For those interested, the solutions were to use:

    select .. from .. where adate between to_date('22-nov-98') and

        to_date('22-nov-98') + 86399/86400

or

    select .. from .. where adate between to_date('22-nov-98') and

        to_date('22-nov-98 23:59:59','dd-mon-yy hh24:mi:ss')

Both variations on a theme. Received on Sun Nov 22 1998 - 09:45:43 CST

Original text of this message

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