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 out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;

Answer Posted / m@ngesh

in the first query There is no records to show in output
box only show the column name Like empname, city, address
etc..
and the second query say that there is all records are to
be show.when query (1=1) will be satisfied on the table

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between having clause and where clause in sql server?

1177


Explain a checkpoint?

1094


What is a DBMS, query, SQL?

1102


What is bcp? When does it use?

994


Explain the concepts and capabilities of sql server?

1026


What are constraints in microsoft sql server?

1227


What is SQL Azure Firewall?

136


What are the advantages of the mirroring?

1158


Why I am getting this error when dropping a database in ms sql server?

1126


What is used to replicate sessions between instances in coldfusion clusters?

1116


What is a fill factor?

1148


How to create and drop temp table in sql server?

1104


What are the different types of stored procedures?

1164


Give main differences between "Truncate" and "Delete".

1161


how to determine the service pack currently installed on sql server? : Sql server database administration

1026