Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between IN and EXISTS operators in
SQL Server?

Answer Posted / vijaykumar dolli

using the IN clause, you're telling the rule-based
optimizer that you want the inner query to drive the outer
query (think: IN = inside to outside).

When you write EXISTS in a where clause, you're telling the
optimizer that you want the outer query to be run first,
using each value to fetch a value from the inner query
(think: EXISTS = outside to inside).

Thank you

Is This Answer Correct ?    106 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens on checkpoint?

1069


How to connect a database with sql express.?

1116


What are the differences between union, intersect, and minus operators?

1140


How to rebuild master databse?

1127


Why is the need for data conversion transformations?

1111


What is a covering index?

1042


What are the different types of backups avaialabe in sql server 2005?

1062


What should be the fill factor for indexes created on tables? : sql server database administration

1178


What is the data type of time?

1017


How to use copy and concatenate commands in SQL?

1195


What are the limitations/drawbacks or ssrs 2008 r2?

152


Mention the different authentication modes in sql server.

1106


What are the properties of sub-query?

1131


How can you find out which stored procedures are recompiling?

950


how can a database be repaired? : Sql server administration

1017