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: select user from dual - performance issue

Re: select user from dual - performance issue

From: abhijith <abhijit_at_nomail.com>
Date: Thu, 19 Jun 2003 14:41:46 +0530
Message-ID: <3EF17E52.9020202@nomail.com>


Ur dual query shud be
  select * from xy where name = (select user from dual) "in" operator always degrades performance...

Uwe Wiedl wrote:
> DUAL table
>
> got a query which uses the "select user from dual" statement.
>
> select * from xy where name in (select user from dual)
> this is up to 10 times slower then
>
> select * from xy where name = user
>
> But this is not for every user in the database the case.
> Why ?
Received on Thu Jun 19 2003 - 04:11:46 CDT

Original text of this message

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