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

Answer Posted / niranjan prasad

There is no defference in result. It shows same result-set
by using both the command.This question put you to misguide
only.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the distinction amongst delete and truncate?

593


Differentiate between delete and truncate.

586


Explain the different index configurations a table can have?

514


What is SQL Server?

670


Explain what are the basic functions for master, msdb, model, tempdb databases?

537






How to define output parameters in stored procedures?

535


How to set a database state to offline in ms sql server?

545


What is the web service used for reporting services?

98


How to test a dml trigger in ms sql server?

583


How to get all stored procedures in sql server?

514


What to perform pattern match with the like operator?

495


What stored by the master?

557


How we can compare two database data?

527


Comment,Datatypes are unlimited

1638


What is a transaction and why is it important?

579