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...

declare
l1 number := null;
l2 number :=null;
begin
if l1=l2 then message('equal');
else
if l1<>l2 then message('not equal');
else
message('else');
end if;
end if;
end;
What will be the output ?

Answer Posted / subrahmanyam.k

Null is not a charcter,unapplicable and not space. we can't
applicable or compare to another. so the final output is "ELSE"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get each name only once from an employee table?

1085


what are the advantages of using stored procedures? : Sql dba

1077


what is the difference between truncate and delete statement? : Transact sql

1033


what is the difference between inner and outer join? Explain with example. : Sql dba

989


What are the constraints available in sql?

1013


How to read xml file in oracle pl sql?

868


Why is sharding used?

960


Can two tables have same primary key?

930


What is the main reason behind using an index?

980


What is #table in sql?

1020


What is the usage of nvl function?

1000


what are the different type of normalization? : Sql dba

982


What is an index in sql with example?

933


What are different types of indexes?

979


Which command is used to delete a trigger?

1280