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 of datebase with sql express.?

1092


What is database isolation in sql server? : sql server database administration

1092


You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

999


Define master database?

1051


Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

874


What are the approximate numeric data types?

920


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

1011


What is data compression? : sql server database administration

961


Explain how to send email from sql database?

1041


Is sql different from sql server?

1068


What is index, cluster index and nonclustered index?

984


What is self contained scalar sub query?

968


What is recompile sql server?

1027


explain different types of joins? : Sql server database administration

971


Why would you call update statistics?

1004