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 is blocking?

1133


Explain about integration services of Microsoft SQL server?

1089


What are the authentication modes in sql server? How can it be changed?

1193


How do I find the port number for sql server?

1018


How to replace given values with null using nullif()?

1040


Tell me what is difference between clustered and non clustered index?

981


Do you know what is blocking?

995


What do you mean by stored techniques? How would we use it?

1080


What is the difference between set and select?

1160


When would you use the stored procedures or functions?

1052


What are trace flags?

1086


What do you understand by triggers and mention the different types of it?

998


Explain the Ways to improve the performance of a sql azure database?

84


How to add a new dsn with the odbc driver for sql server?

1112


Explain the use of keyword with encryption. Create a store procedure with encryption?

1008