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 is difference between views and tables?
What are different types of replication in sql server?
What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?
What is tempdb in sql server?
Why we use trigger in sql server with example?
What is “asynchronous” communication in sql server service broker?
What are the advantages of using a stored procedure?
What is the default sql server instance name?
what are defaults? : Sql server database administration
What are the advantages of mirroring?
How many ways to create table-valued functions?
What are different types of statement?
What is difference between Datepart() and Datename() in SqlServer?
What is normalization of database?
Explain the concept of view and Types of views in SQL server?