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: Why this query is SO slow?

Re: Why this query is SO slow?

From: Sean <sean_bu_at_yahoo.com>
Date: 14 Apr 2002 19:57:09 -0700
Message-ID: <999ced66.0204141857.1b76d783@posting.google.com>


Try,

select id from phase
where NOT EXISTS ( select null
from phase2 where phase2.id = pahse.id)

Oracle will use index on phase2.id, if there was the index. Received on Sun Apr 14 2002 - 21:57:09 CDT

Original text of this message

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