IN Vs OR operator which is best to use sql server.
Answer Posted / sandeep rana
Both are used for different purposes like...
select * from table where data in(1,2,3,4,5,6)
select * from table where data in(1,2,3,4,5,6) or data1
like('%s','%t')
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does it mean to invest in the index?
what are the different ways to return the rowcount of a table?
List the advantages of using stored procedures?
What have included columns when we talk about sql server indexing?
What is a dbms wizard?
Explain the microsoft sql server delete command? : SQL Server Architecture
What is precedence constraint?
What is resultset concur_updatable?
What are the advantages of sql stored procedure?
How do you send email on SQL Server?
Can we use custom code in ssrs?
What is a fill factor?
how to create “alternate row colour”?
how to control the amount of free space in your index pages? : Sql server database administration
Define inner join in sql server joins?