What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table

Answer Posted / naren

No difference

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Insert multiple rows with a single insert statement?

549


how to define testing of network layers? : Sql server database administration

494


Explain the microsoft sql server delete command? : SQL Server Architecture

585


Explain forward - only cursors?

521


Explain optimistic and pessimistic concurrency?

544






What are the types of processing and explain each? : sql server analysis services, ssas

738


What are subqueries in sql server?

599


How to use “drop” keyword in sql server and give an example?

688


What is report snapshot?

99


What is the difference between commit and rollback?

508


How to enable tcp/ip protocol on a sql server?

589


What are the 7 disadvantages to a manual system?

515


What keyword you will use to get schema appended to the result set of a ‘for xml’ query?

603


Why use stored procedures in sql server?

554


How to select true false based on column value in sql server?

508