What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / vidit
The results of both queries will be same
but 2nd will fast then 1st
vidit Tyagi
Meerut
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is a fill factor?
What is the most common trace flags used with sql server?
What is the difference between value type and reference type?
Can we write trigger for view?
What do you mean by sql server 2005 express management tools?
What are the 7 disadvantages to a manual system?
What is sql collation?
What are the types of sql server?
How can we determine what objects a user-defined function depends upon?
Why functions are used in sql server?
why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration
How do you delete duplicate records in sql server?
How can I add Reporting Services reports to my application?
What are the differences between lost updates and uncommitted dependencies?
Tell me about normalization in DBMS.