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 / sant

In oracle the below eg will help you to clear this:

DECLARE
D INTEGER :=NULL;
E INTEGER :=NULL;
BEGIN
IF (D = E) THEN
dbms_output.put_line('PASS);
ELSE
dbms_output.put_line('FAIL');
END IF;
END;

It will alwayz return FAIL.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is blind sql injection?

1041


What do you know by pl/sql cursors?

1086


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

934


How can you select unique records from a table?

1049


What is the difference between function and procedure in pl/sql?

1054


What is the use of desc in sql?

955


Which join condition can be specified using on clause?

936


What is difference between pl and sql?

1030


What is a trigger in sql?

1189


What is a design view?

913


How do I debug a stored procedure?

1087


Is delete faster than truncate?

993


how does a local variable is defined using t-sql? : Transact sql

987


what are sequences

1718


What is sqlcommand?

1006