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

Can you roll back the ddl statement in a trigger?

946


What is the purpose of update statistics and scope_identity() function?

1081


How to use "if ... Else if ... Else ..." Statement structures in ms sql server?

1045


Explain what you mean by 3 tier architecture.

1058


What is xdr?

971


How to handle error or exception in sql?

969


What is the tcp/ip port on which sql server runs?

1130


What is the name of reporting services config file and what’s it’s used for?

146


What are sub reports?

201


How to reaname table name without using sp_Rename in sql server..?

973


What is provisioning, billing and metering, and connection routing concepts in the service layer?

113


What is the cartesian product of the table?

943


what is the difference between a primary key and a unique key? : Sql server database administration

981


How do I install only the client tools of sql server 2000?

1042


Do you know what is difference between stored procedure and user defined function?

1081