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 does partition by mean in sql?

955


State few characteristics of pl/sql?

969


What is the difference between microsoft access and sql?

1012


Can you call pl/sql package functions from within a fast formula?

1033


What is sql keyword?

992


What is a full join sql?

1051


Explain the select statement in sql?

1105


Can we rename a column in the output of sql query?

991


How to select 10 records from a table?

1153


What are the benefits of pl/sql packages?

1103


How do I debug a stored procedure?

1107


what tools available for managing mysql server? : Sql dba

1075


Why is there a need for sqlcode and sqlerrm variables?

1043


i have some prob lem to tell me about my self in interview first round ...

2158


How many types of relationship are there?

1025