What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / malathi
Both the Queries will return the same ouput.
That means it will return all the rows that are available
in the table.
| Is This Answer Correct ? | 45 Yes | 3 No |
Post New Answer View All Answers
What have included columns when we talk about sql server indexing?
how can you check the level of fragmentation on a table? : Sql server administration
How many primary keys are possible in a table?
What is a cube? : sql server analysis services, ssas
Can a database be shrunk to 0 bytes, if not, why?
What is a field name?
What is the difference between a function and a trigger?
Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
What is the process of indexing?
How to find the service pack installed? : sql server database administration
What is sub-query in sql server? Explain its properties.
What is a performance monitor?
What is the use of commit?
can you instantiate a com object by using t-sql? : Sql server database administration