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

How use inner join in sql server?

1054


Explain about service Broker functions?

979


What is a partition key?

884


What is database replication? What are the different types of replication you can set up in sql server?

911


Why do we use non clustered index?

1008


What are policy management terms?

930


What is #temp and @table variable in SQL server?

1024


What is the security principal at the server level that represents your session?

963


How to set database to be read_only in ms sql server?

954


Which trace flags are enabled in sql server?

941


explain databases and sql server databases architecture? : Sql server database administration

908


How to invoke a trigger on demand?

1026


How many triggers you can have on a table?

933


When to use Inner join & when to use subquery?

1079


How to replace the Query Result 'Null Value' with a text ?

970