What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / akbar ali
The first query satisfies the condition true condition.
both are similar but not same. performance based querys ...
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are the aggregate and scalar functions?
You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?
Explain transaction server implicit?
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
How do you troubleshoot errors in a SQL Server Agent Job?
What is 2nf in normalization?
What will happen if a column containing char type data is changed to the nchar data type?
What are orphan records?
How many databases can we create in a single server?
How to write a query with an inner join in ms sql server?
Explain Normalization and DE normalization
What are ddl (data definition language) statements for tables in ms sql server?
What will be query used to get the list of triggers in a database?
What are the different types of stored procedures?
What is the process of normalization?