Diff b/w not exists and not in at oracle

Reply

Join Date: Aug 2008
Posts: 24
Reputation: balakrishnan.kb is an unknown quantity at this point 
Solved Threads: 0
balakrishnan.kb balakrishnan.kb is offline Offline
Newbie Poster

Diff b/w not exists and not in at oracle

 
0
  #1
Oct 20th, 2008
hi

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

thanks
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,068
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 123
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: Diff b/w not exists and not in at oracle

 
0
  #2
Oct 21st, 2008
what did google say ?
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1
Reputation: shrichandray is an unknown quantity at this point 
Solved Threads: 0
shrichandray shrichandray is offline Offline
Newbie Poster

Re: Diff b/w not exists and not in at oracle

 
0
  #3
Oct 31st, 2008
Originally Posted by balakrishnan.kb View Post
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...

Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Oracle Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC