Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 19th, 2011, 05:02 PM
Amukherji Amukherji is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 22 Amukherji User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 18 m 57 sec
Reputation Power: 0
Difference between NOT IN,MINUS,NOT EXISTS and EXCEPT operators

Hi guys, can anybody tell me where difference lies between these operators or clause, & whether there is any "except" operator in oracle, i know other three are used bt dont think oracle uses "except" too..as far as i have seen "NOT IN", "MINUS" , "NOT EXISTS" are exactly similar? pls correct me if am wrong, preferrable with any example???

Thankss...

Reply With Quote
  #2  
Old January 27th, 2012, 12:22 AM
debasisdas's Avatar
debasisdas debasisdas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Location: Bangalore, India
Posts: 243 debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)debasisdas User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2Folding Points: 997423 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 3 Weeks 4 Days 1 h 45 m 29 sec
Reputation Power: 117
Send a message via ICQ to debasisdas Send a message via AIM to debasisdas Send a message via Skype to debasisdas
No oracle does not support "except" for any set operation.

and "NOT IN", "MINUS" , "NOT EXISTS" are not similar.

You need to read books for details of all that.

Reply With Quote
  #3  
Old February 5th, 2012, 03:50 PM
Amukherji Amukherji is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 22 Amukherji User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 18 m 57 sec
Reputation Power: 0
Quote:
Originally Posted by debasisdas
No oracle does not support "except" for any set operation.

and "NOT IN", "MINUS" , "NOT EXISTS" are not similar.

You need to read books for details of all that.



Hi, Thanks for reply...okay can you also confirm..i think these three 'not in' , 'minus', 'not exists' are syntactically different..but where one out of these three can be used to achieve a purpose,logically another can also be used with similar logic, only syntax or usage would be different?

Reply With Quote
  #4  
Old February 6th, 2012, 11:53 AM
clivew clivew is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 1,845 clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level)clivew User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 1 h 43 m 12 sec
Reputation Power: 296
As debasisdas said: They are not the same and a good book on SQL will clarify the differences for you.

If you are having difficulty with the logic of a specific SQL statement then do post it here
together with a description of what it should be doing.

Reply With Quote
  #5  
Old April 27th, 2012, 06:17 AM
kimipatel kimipatel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 3 kimipatel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 33 sec
Reputation Power: 0
Hi,

Kindly Read Oracle SQL documentation.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Difference between NOT IN,MINUS,NOT EXISTS and EXCEPT operators


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap