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 is shared lock?

834


What are wait types?

1019


Do you know what is fill factor and pad index?

940


how to determine the service pack currently installed on sql server? : Sql server database administration

907


Explain how you can deploy an SSRS report?

137


What is update_statistics command?

1018


What is a result set object returned by odbc_exec()?

951


What is conditional split?

991


What are the methods used to protect against sql injection attack?

999


How to check status of stored procedure in sql server?

912


What are differences in between sql server 2012 and sql server 2016?

978


What is the default value of an integer data type in sql server 2005?

910


What is a livelock?

911


What is use of @@ spid in sql server?

1145


What is checkpoint in sql server?

1057