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

Which trace flags are enabled in sql server?

1020


What is subquery explain with example?

1064


What type of Index will get created after executing the above statement?

1100


What is optimization and its types?

982


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

1073


Explain nested trigger in sql?

1080


What is the maximum size per database for sql server express?

1052


What are the security related catalog views? : sql server security

950


Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?

1064


What is data mart? : sql server analysis services, ssas

1056


How to execute function in stored procedure sql server?

1157


What are the properties and different types of sub-queries?

1011


How do you rename a table in sql server?

1026


What are ddl (data definition language) statements for tables in ms sql server?

1104


Does dbcc checkdb requires db to be in single_user mode? : sql server database administration

979