DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Oracle (http://www.daniweb.com/forums/forum129.html)
-   -   Diff b/w not exists and not in at oracle (http://www.daniweb.com/forums/thread152319.html)

balakrishnan.kb Oct 20th, 2008 8:00 am
Diff b/w not exists and not in at oracle
 
hi

what is difference between NOT EXISTS and NOT IN and also EXISTS and IN at subquery

thanks

debasisdas Oct 21st, 2008 2:48 pm
Re: Diff b/w not exists and not in at oracle
 
what did google say ?

shrichandray Oct 31st, 2008 6:40 am
Re: Diff b/w not exists and not in at oracle
 
Quote:

Originally Posted by balakrishnan.kb (Post 716756)
hi

what is difference between NOT EXISTS and NOT IN and also EXISTS and IN at subquery

thanks


If you did not get your answer yet, then let me try to answer it in a brief...
Not Exists Check for one occurance in the Sub query and comes out and to use Not Exists you have to user subquery or co-related query.
Where in case of t Not In it chekc the condition again the set of values specified or returned by sub query....
If you can use Not eixts it is always better for performance...

:)


All times are GMT -4. The time now is 3:27 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC