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 / nitin yadav(9229430059)

A. Will give you no record because null have no value that
means no comparision between two nulls.

B.will give all row because 1=1 condision always true for
all rows.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can binary strings be used in arithmetical operations?

910


What are sql servers used for?

1021


create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration

938


What are the different index configurations a table can have?

947


Explain transaction server isolation?

1004


What are the properties of sub-query?

1060


Are semicolons required at the end of sql statements in sql server 2005?

964


What are trace flags?

1009


Explain transaction server auto commit?

1023


What is difference between foreign key and unique key?

994


Difference between uniqe index and uniqe constraint?

948


What happens if null values are involved in comparison operations?

945


How to fetch the next row from a cursor with a "fetch" statement?

1053


What are various ways to enhance the ssrs report?

966


What is read uncmmited?

1039