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

Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1931


What are acid properties of transaction?

931


What is xml datatype?

1061


What is database dimension? : sql server analysis services, ssas

1061


Mention the differences between having and where clause.

1039


What is the difference between clustered and a non-clustered index?

1009


How to test a dml trigger in ms sql server?

1023


What are the common performance issues in sql server?

897


Is it possible to create trigger on views?

956


How to get the definition of a trigger back?

987


What do you do in data exploration

974


You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

971


What is full outer join in sql server joins?

1034


How raid can influence database performance?

1008


you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration

1230