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 / vandana chand

where allows only single value in where Clause.
where as IN operator allwos multiple values in Where clause.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are tables in sql server?

1097


What is a transactions?

1090


Can group functions be mixed with non-group selection fields in ms sql server?

999


Tell me what is de-normalization and what are some of the examples of it?

1098


Suppose you want to implement the one-to-many relationships while designing tables. How would you do it?

1005


how to create “alternate row colour”?

152


What is the purpose of the tempdb database?

1048


how to create a scrollable cursor with the scroll option? : Sql server database administration

1147


Do I need a report server to run reports in my application?

170


How to list all schemas in a database?

1103


How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?

1060


Explain datetimeoffset data type in sal server 2008?

973


What does it mean to be in union?

983


What is normalization? Explain different forms of normalization?

1232


What are the types of sql server?

1102