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

Answer Posted / navneet sharma

IN work like a OR in sql query but in is faster than OR in
case of IN server will search whole table
EXISTS is use to find the required row and does not search
whole table

Is This Answer Correct ?    29 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to rename an existing column with sql server management studio?

514


What authentication modes does sql server support?

603


How to write a query with a right outer join in ms sql server?

494


what happens on checkpoint? : Sql server database administration

522


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

623






How to remove duplicate rows from table except one?

588


What is hot add cpu in sql server 2008?

536


How is sql server used?

556


Explain throw statement in sql server 2008?

589


Explain what is the difference between union and union all?

564


How can a user-defined datatype be created?

557


What are number line correlation administrators will use while working with a subquery?

633


what is the information that can be stored inside a bit column? : Sql server database administration

536


What are the difference between “where” and “having” clause in sql server?

597


How many types of the database links?

619