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 to connect to a sql server using odbc_connect()?

1102


Why use update_statistics command in sql server?

1005


What do mean by xml datatype?

1019


What are the different types of collation sensitivity?

1063


What you can do to delete a table without the delete trigger firing?

927


What do you mean by recursive stored procedure?

889


What is set nocount on?

902


What is the use of sign function?

1045


What are the benefits of normalization?

1053


Does index speed up select statements?

984


State the difference between union and union all?

895


How do I start sql server 2017?

897


Working with TLogs

1793


What do you understand by the analysis services in sql server?

903


We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

1331