Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL SELECT question

Re: SQL SELECT question

From: TurkBear <johng_at_mm.com>
Date: 1998/02/03
Message-ID: <34d757f7.84688916@news2.mm.com>#1/1

home123_at_rocketmail.com (Tom) wrote:

>From a performance perspective, does the order that I put the fields
>in my WHERE clause affect performance? Should I put the table joins
>first, or is that just a "readability" preference?
>
>Thanks!

My understanding is that Oracle reads from last to first in the where clause -- however the optimizer my change that... I usually place the most restrictive where clause ( that is the one that reduces the potential eligible rows the most) as the last where statement, but I am not sure that this actually improves things to any measurable degree.

Just my opinion

John Greco
Oracle DBA Received on Tue Feb 03 1998 - 00:00:00 CST

Original text of this message

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