Topic: SQL*Plus and PL/SQL >> Exists vs in
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| pammi |
Posted: May 27, 2008 07:12:27 AM |
Total Post: 21
Joined: Feb, 2008
|
| Please let me know how in operator works better than exists in sub queries |
|
|
Murtuja |
| Posted: May 27, 2008 07:36:47 AM | |
|
Total Post: 857
Joined: Jan, 2006
|
Hi,
http://jenniferlinca.wordpress.com/2008/02/22/which-one-is-faster-in-or-exists-when-should-i-use-in-and-exists/
|
|
|
|
|
seema |
| Posted: Sep 02, 2008 05:48:58 AM | |
|
Total Post: 70
Joined: Jan, 2008
|
IN - That will return all possible records and scan whole table.
Exists - That will return first match record and that will not scan whole table .that is faster then IN.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Vinoth Kumar | 362 |
| Gopu Gopi | 340 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|