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

Answer Posted / rajiv rohilla

No Diffrence at all

Is This Answer Correct ?    57 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many no of arguments can be passed in procedures and functions

4885


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

649


What is SQL Azure Firewall?

122


Explain syntax for viewing trigger?

601


What is the function of inner join?

625






Can you use order by when defining a view?

632


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

634


Define outer join in sql server joins?

572


Do you know what guidelines should be followed to help minimize deadlocks?

602


What are partitioned views and distributed partitioned views?

676


What are the types of sql server?

577


What is difference between stored procedure and user defined function?

611


Explain powershell included in sql server 2008?

662


What structure can you implement for the database to speed up table reads?

793


What are the different ways you can create databases in sql server?

641