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 / guest
Here both is same but some situvations we want extact value
of one are more values then use in oprate
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is package and it uses and how can u call a package
What are views in ms sql server?
What are drilldown reports?
What is sql server agent and what are the two modes of authentication in sql server?
What are the different types of locks in the database?
What is the difference between ddl,dml and dcl commands?
How to encrypt data between dialogs?
Explain aggregate functions?
How to set database to be read_only in ms sql server?
What is field in algebra?
What are cursors in ms sql server?
What is hot add cpu in sql server 2008?
What are the restraints imposed on the table design by a merge replication?
What are user-defined functions (udfs) in sql server?
What are the types of database recovery models?