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: Which is faster? <> or Between

Re: Which is faster? <> or Between

From: M <noreply_at_noreply.com>
Date: Thu, 26 Jun 2003 18:37:42 +0800
Message-ID: <bdeja0$23h2$1@news.hgc.com.hk>


It seems to me that the 'between' should work faster, as long as you don't have something like to_char, to_date, etc.

Correct me if I was wrong.

"Just_Buy" <ohbej_at_hotmail.com> wrote in message news:65275ae5.0306250757.b859f09_at_posting.google.com...
> Which of the following methods is faster for retrieving records within a
date range?
>
> Option A:
> Paid_Date >= '01-JAN-2003' AND Paid_Date <= '01-MAR-2003'
>
> Option B:
> Paid_Date BETWEEN '01-JAN-2003' AND '01-MAR-2003'
>
> Thanks!
Received on Thu Jun 26 2003 - 05:37:42 CDT

Original text of this message

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