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(nitin.yadav.india@

u can not compare two nulls

null means nothing.so
ANS 1:no row
ANS 2:All row (because of 1=1 is always true for all rows)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration

1087


What is simple indexing method?

1088


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

1155


Do you know the isolation level that sql server support?

1007


What are the different types of locks in the database?

990


What is the difference between for xml raw and for xml auto?

1092


Tell me what is the stuff and how does it differ from the replace function?

1044


Mention the different types of triggers?

1227


what is the difference between openrowset and openquery?

1172


To which devices can a backup be created and where should these devices be located? : sql server management studio

1108


How to convert numeric expression data types using the cast() function?

1133


Describe in brief sql server monitoring ways.

1111


What is role playing dimension with two examples? : sql server analysis services, ssas

1060


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

1166


What is Command line parameters in PLSQL.?

1204