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

How do you remove duplicates without using distinct in sql?

969


What found sql?

936


How can one get sql*loader to commit only at the end of the load file? : aql loader

1049


What does an inner join do?

1171


How delete all data from table in sql?

1007


how to get @@error and @@rowcount at the same time? : Sql dba

1017


Is inner join faster than left join?

1180


what are the advantages of sql ? : Sql dba

1052


what is the difference between clustered and non clustered index in sql? : Sql dba

1115


how can you create an empty table from an existing table? : Sql dba

1146


What is on delete restrict?

996


What are the advantages of indexing?

976


Which join is like an inner join?

1021


what are ddl statements in mysql? : Sql dba

1181


How do I save a sql query?

1002