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 / malathi

Both the Queries will return the same ouput.
That means it will return all the rows that are available
in the table.

Is This Answer Correct ?    45 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the exact numeric data type in sql?

992


How can we delete Duplicate row in table?

1049


How will you add a dimension to cube? : sql server analysis services, ssas

1070


Can we add a cpu to sql server?

998


What the difference between UNION and UNIONALL?

1032


What are the differences between DDL, DML and DCL in SQL?

1219


What is sql sandbox in sql server?

1208


How to encrypt data between dialogs?

1087


What does the on delete cascade option do?

1011


What is co-related sub query?

1016


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

965


how many type of indexing in database?

975


What is sql profiler. What are the default templates with it? : sql server database administration

1022


In how many ways you can invoke ssrs reports?

137


How connect excel to sql server?

983