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 many triggers can be applied on a table?

941


what is rollback? : Sql dba

1115


What is prepared statement in sql?

1060


The select into statement is most often used to create backup copies of tables or for archiving records?

1072


What is a sql statement?

975


Can you load data into multiple tables at once? : aql loader

1078


What has stored procedures in sql and how we can use it?

1087


How to look at the current sql*plus system settings?

1159


What is sql*loader and what is it used for? : aql loader

1182


What is a data definition language?

1145


Explain the significance of the & and && operators in pl sql.

1012


Is oracle and sql same?

1020


How to select 10 records from a table?

1167


How bulk collect improves performance?

1014


How do I save a sql query?

1021