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 / chandan

IN operator is used to specify multiple variable.
while in this query both result will be same.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to drop an existing stored procedure in ms sql server?

1032


What is mean by dml?

1009


What is filestream?

1001


How to end a stored procedure properly in ms sql server?

1090


Explain about sql server login?

1086


What are the advantages of paper records?

968


What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?

1198


How to fine-tune reports?

268


How to add code to the existing article (using improve article)?

1110


How to create a new schema in a database?

1151


Explain what is the use of custom fields in report?

926


When to use Inner join & when to use subquery?

1161


What is log cache in sql server?

1042


Do you know what are acid properties?

1078


What is 2nf in normalization?

997