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
How to create median function?
Explain what is “asynchronous” communication in sql server service broker?
What is ms sql server reporting services?
What specific conditions database should meet, before you can bulk copy data into it using bcp?
How can you tell if a database object is invalid?
How to create a Master database in SQL server ?
What are extended events in sql server?
How do you manipulate data?
When should you use an instead of trigger?
Which are the important points to note when multilanguage data is stored in a table?
What is it’s similarity with sql server?
what is bit datatype and what's the information that can be stored inside a bit column? : Sql server database administration
What are the different authentication modes in sql server? How can it be changed?
What are the basic functions for master, msdb, model, tempdb databases?
How data can be copied from one table to another table?