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

Home -> Community -> Usenet -> c.d.o.misc -> EXISTS/NOT EXISTS vs. IN/NOT IN

EXISTS/NOT EXISTS vs. IN/NOT IN

From: <emreed1234_at_my-deja.com>
Date: Mon, 27 Mar 2000 23:03:24 GMT
Message-ID: <8bopbg$46p$1@nnrp1.deja.com>


I've read there are two advantages of EXISTS. One is that EXISTS can perform faster than IN under certain circumstances. The other advantage I've heard is that there are some queries that cannot be done with IN, but can be done with EXISTS.

Could someone post the reasoning behind performance gains?

Could someone also post a good example of when only EXISTS will work?

Thanks!

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Mar 27 2000 - 17:03:24 CST

Original text of this message

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