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: Expert Query Question...

Re: Expert Query Question...

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Tue, 29 Aug 2000 09:49:10 +0200
Message-ID: <8ofq08$9hb$1@s1.read.news.oleane.net>

Yes.

Oracle optimizer is smart enough to see that "IN (1)" is the same as "= 1".

--
Have a nice day
Michel


Allen <allen.brost_at_motorola.com> a écrit dans le message : 39AABF8B.3653E8FB_at_motorola.com...

> is the statement:
>
> SELECT * FROM table WHERE value IN (1);
>
> going to produce the same performance as:
>
> SELECT * FROM table WHERE value = 1;
>
>
> - Allen
>
>
Received on Tue Aug 29 2000 - 02:49:10 CDT

Original text of this message

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