What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / rohit nanda
NO DIFFERENCE IN BOTH THE EQUATION...BCOZ THEY GIVE THE SAME
OUTPUT....
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain indexing and what are the advantages of it?
What are the types of indexes?
Is BCNF better than 2NF & 3NF? Why?
What is reportserver and reportservertempdb ?
What is standby servers? Explain types of standby servers.
What is the syntax for encrypting a column in SQL Server?
Give the query of getting last two records from the table in SQL SERVER?
What is mean by candidate key?
How to trouble shoot if unable to connect SQL Server
What happens if you delete a table that is used by a view?
How do I create a trace in sql server?
Difference between report and query parameter.
Explain subquery and state its properties?
What is set nocount on?
Which is the latest version of sql server and when it is released?