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

compilation error, because you should not use two times end
if;

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does postgresql compare to mysql?

1080


What is difference between stored function and application function?

1290


What are the set operators in sql?

1137


What are sql functions? Describe the different types of sql functions?

1213


what are the advantages and disadvantages of cascading style sheets? : Sql dba

1104


Who developed sql?

1099


what are the differences among rownum, rank and dense_rank? : Sql dba

1087


What does (*) mean in sql?

1002


describe transaction-safe table types in mysql : sql dba

1059


What is a mutating table and a constraining table?

1178


what are the 'mysql' command line arguments? : Sql dba

1192


Which one is faster ienumerable or iqueryable?

989


What is the least restrictive isolation level? : Transact sql

1106


How does a trigger work?

1145


How to disable a trigger name update_salary?

1315