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
How to grant a permission in ms sql server using "grant execute" statements?
what does the automatic recovery do? : Sql server administration
What happens if ntwdblib.dll is missing on your machine?
What is sub-query in sql server?
What is bcp? When does it used?
What is sparse columns of sql server 2008?
Explain what is dbcc?
What are the differences between sql server and mysql.
What happens if date-only values are provided as date and time literals?
When multiple after triggers are attached to sql table, how to control the order of execution?
Do you know what guidelines should be followed to help minimize deadlocks?
What happens if you add a new index to large table?
Explain index in sql server?
What is the default value of an integer data type in sql server 2005?
How can you list all the table constraints in a database?