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 the difference between delete and truncate statements?

1065


What stored by the master?

944


How do clustered indexes store data?

1095


Explain how to use linked server?

987


mention different types of relationships in the dbms?

1010


What does it mean to normalize a database and why would you do it?

975


What are secondary xml indexes?

1022


What keyword you will use to get schema appended to the result set of a ‘for xml’ query?

1019


How to get a list of columns in a view using "sys.columns" in ms sql server?

982


Can you move the resources after pausing the node? : sql server database administration

1093


What is a scheduled job or what is a scheduled task?

945


How to locate and take substrings with charindex() and substring() functions?

1010


What is the difference between the application object and session object?

1058


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

1053


how can u get last observation in an unknown dataset ?

2431