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 WHERE AND IN?
OR
1. SELECT * FROM EMPLOYEE WHERE EMPID=123
2. SELECT * FROM EMPLOYEE WHERE EMPID IN (123)
WHAT IS THE DIFFERENCE?

Answer Posted / dinesh sharma

In WHERE Clause when the condition match no further scan of
table stop scanning the table after condition match.

where as IN operator It scan the full table either condition
match or not.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of indexes?

1085


How do you rename a table in sql server?

1032


Mention the different types of triggers?

1119


Explain what is log shipping?

1139


How to use clusters?

957


Do you know the isolation level that sql server support?

965


What is the difference between SQL notification and SQL invalidation?

1194


How can you find out which stored procedures are recompiling?

920


what is normalization? : Sql server database administration

1101


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

996


How to execute multiple stored procedures at one time in sql server?

1015


What are the steps to take to improve performance of a poor performing query? : sql server database administration

1057


Which are the new data types introduced in sql server 2008?

882


What is a unique key constraint?

1028


What is unpivot?

1013