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 result, when NULL is compared with NULL?

Answer Posted / affan shemle

It is absolutely perfect to compare NULL with NULL. It
yields the result NULL. For those who are saying the result
is FALSE they are taking the answer from IF THEN ELSE. In
all the above answers supported by IF Statement there is a
catch. The result of IF is a Boolean. A Boolean can hold
TRUE, FALSE or NULL. So when you compare NULL vs NULL as a
condition of IF THEN, it returns NULL so the controller goes
to ELSE skipping the IF. Makes sense???
/
AFFAN SHEMLE

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is numeric function sql?

1070


what are the performance and scalability characteristics of mysql? : Sql dba

1002


What is right join in sql?

1101


What is a schema? How is it useful in sql servers?

1132


Is keyword pl sql?

1012


What does closing a cursor do?

1329


How would you pass hints to the sql processor?

991


How many disk partitions should I have?

995


What is the difference between the implicit and explicit cursors?

1058


What is Collation Sensitivity ? What are the various type ?

960


Can we use loop in sql?

972


What is the difference between the repeatable read and serializable isolation levels? : Transact sql

1111


How do I view a procedure in sql?

978


What is a database trigger?

1077


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

1015