Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / krishna sandeep

Of course, both the Queries will get you the same data but,

When compared to the first case processing time will be
slightly reduced in the second case.

Bytes sent from client and Bytes received from server will
be more in the first case.

and one more thing is better not using "select * from ..."

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you check sql server is up and running?

984


What are the different sql server versions?

970


Which are ddl commands?

1034


What is nolock hint in sql server 2008

1113


how you can deploy an ssrs report?

178


How do I change my passwords (database, LDAP, and so on) without causing an outage?

1058


Explain primary key and foreign key constraints?

1017


What is the purpose of the tempdb database?

990


What is 1nf normalization form?

1024


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

1027


What new changes are being made in SQL Server?

1170


How do I edit a procedure in sql server?

946


Is it important for a database administrator to understand the operating system and file access?

971


What is a trigger? Why we need it?

989


Can we write trigger for view?

998