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 stored procedure?
How do database indexes work?
What are the different Authentication modes in SQL Server and how can you change authentication mode?
How do you clear a log file?
Explain about merge replications?
What are the difference between data mart and data warehouse? : sql server analysis services, ssas
What is instead of trigger sql server?
Tell me what is the significance of null value and why should we avoid permitting null values?
How to get a list of columns using the "sp_help" stored procedure in ms sql server?
What is precedence constraint?
how do you test proper tcp/ip configuration windows machine? : Sql server database administration
What is postgresql server?
What is a unique index?
How can sql server instances be hidden? : sql server security
How do use Having,Group by,Group function in SQL?