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

set serveroutput on;
DECLARE
D INTEGER :=NULL;
E INTEGER :=NULL;
BEGIN
IF (D = E) THEN
dbms_output.put_line('PASS');
ELSIF (D <> E) THEN
dbms_output.put_line('FAIL');
ELSE
dbms_output.put_line('NA');
END IF;
END;

will return NA

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add, remove, modify users using sql?

1038


What is not equal in sql?

1124


What will you get by the cursor attribute sql%rowcount?

1038


What are triggers in sql?

1020


What are different types of sql commands?

1117


What are the different types of tables in sql?

1009


How to read/write files from pl/sql?

1036


Explain the components of sql?

1064


what happens if you no create privilege in a database? : Sql dba

1001


What is the use of double ampersand (&&) in sql queries? Give an example

1139


What is primary key secondary key alternate key candidate key?

1037


What is set serveroutput on?

1136


how to get a list of all tables in a database? : Sql dba

977


What is coalesce in sql?

1060


Can we create index on primary key?

970