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 / g.nageswara rao

in first query 1=1 always true,then it retrives all columns
in a table.
so,there is no difference in between these two

Is This Answer Correct ?    39 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create database with physical files specified in ms sql server?

1035


What is a user-defined function in the sql server and what is its advantage?

1141


Name few of the dcl commands in sql?

1053


What is the sql server 2000 version number?

1147


What is 3nf normalization?

1051


What command do we use to rename a db, a table and a column?

980


What different steps will a sql server developer take to secure sql server?

1039


Which rendering formats are affected by the pagesize properties?

151


Explain what is the difference between a local and a global temporary table?

1046


What do you understand by triggers and mention the different types of it?

998


What is raid and what are different types of raid levels?

1191


What are the difference between data mart and data warehouse? : sql server analysis services, ssas

1010


How to download and install microsoft .net framework version 2.0?

1183


1)what is the difference between Reinitializing a Subscription and synchronization the subscription? 2)when to use reinitializing ? 3)when to use synchronization? 4)when adding table or deleting a table what to do?(reinz.. or syn) 5)when adding a column what to do?

2167


what is database replicaion? What are the different types of replication you can set up in sql server? : Sql server database administration

1049