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: Just_Buy <ohbej_at_hotmail.com>
Date: 25 Jun 2003 16:33:31 -0700
Message-ID: <65275ae5.0306251533.24adf1b3@posting.google.com>


My apologies for not being an Oracle expert like yourself. Since I am not aware of the "EXPLAIN PLAN" syntax I will research this syntax and conduct some tests. Once completed I will post my findings back to this Usenet group so others can learn. Please correct me if I'm wrong, but learning from others is a goal of these Usenet groups.

Daniel Morgan <damorgan_at_exxesolutions.com> wrote in message news:<3EF9C9FA.2621AE77_at_exxesolutions.com>...
> Just_Buy wrote:
>
> > 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!
>
> Do your homework on your computer ... not in a usenet group.
>
> It would take you less time, and be substantially less aggravating to run EXPLAIN PLAN
> on these two statements than it has been to read this answer and get upset at my
> response which doubtless you will choose to do.
Received on Wed Jun 25 2003 - 18:33:31 CDT

Original text of this message

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