Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL SELECT question
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