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

The answer will be "else"

declare
L1 number := null;
L2 number :=null;
begin
if L1=L2 then
dbms_output.put_line ('equal');
elsif L1<>L2 then
dbms_output.put_line ('not equal');
else
dbms_output.put_line ('else');
end if;
end;
/

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the insert into statements in sql?

1000


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

1010


What is delete command in sql?

1108


How do I run a pl sql procedure in sql developer?

966


How many rows can sqlite handle?

1106


Can pl sql procedure have a return statement?

1020


What is not equal in sql?

1110


What do you mean by rowid?

972


Is truncate ddl or dml?

989


what is 'mysqladmin' in mysql? : Sql dba

1024


How can we make an if statement within a select statement?

1003


What is PL/SQL Records?

1181


Can we use insert statement in function?

995


Explain the working of primary key?

1087


what does it mean to have quoted_identifier on? : Sql dba

1140