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 / kohulavani.g

First query,in table where 1=1 condition is satisfied that
row or column is displayed
But in second query,the whole table is displayed

Is This Answer Correct ?    18 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect sql server management studio express to sql server 2005 express?

980


How to generate create procedure script on an existing stored procedure?

954


What do I need to start working with sql studio? : sql server management studio

1066


What is the difference between functions and scalar functions?

1143


Which autogrowth database setting is good?

1011


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

986


What is the process of normalization?

1074


Tell me about the approaches which you used to counter the DI problems.

1289


What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?

1106


How do I completely remove sql server instance?

1039


Is truncate a dml command?

899


What is the default sql server instance name?

998


Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?

945


what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

971


What is a hint?

945