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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Newbie : Where ... part ?

Re: Newbie : Where ... part ?

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Thu, 19 Oct 2000 15:55:11 +0200
Message-ID: <8smuhm$a2b$1@s1.read.news.oleane.net>

S van Hoof <stephan_at_hoof.nl> a écrit dans le message : 8smsan$iou$1_at_news1.xs4all.nl...
> Hi,
>
> Just wondering what to do in building "where.." parts of queries.
>
> Does it matter which table I mention first on left-part of the equation
> (performance)?
>
> For Example.
> Table A = 100.000 rows
> Table B = 100 rows
>
> What is faster:
> .. where A.Id=B.Id
> OR
> ..where B.Id=A.Id
> ?

It doesn't matter but if you use RBO you have to correctly choose your from clause:
from A, B (the smallest at the end).

--
Have a nice day
Michel
Received on Thu Oct 19 2000 - 08:55:11 CDT

Original text of this message

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