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

Sql server reporting services vs. Crystal reports.

131


How to test a dml trigger in ms sql server?

1037


List out the differences between global and local temp tables in sql server?

1052


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

1115


What is the difference between drop table and truncate table?

919


What is rolap and its advantage? : sql server analysis services, ssas

1277


What is merge statement?

1075


What is dbcc? Give few examples.

1023


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

957


How is sql server used?

952


Differentiate between a having clause and a where clause.

962


Can we install sql server 2016 on windows 7?

1127


What is statement level trigger?

979


When would you use it?

987


Explain how does the report manager work in ssrs?

951