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 / arup ratan banerjee

The answer will be "not equal"
because when two null values are compared then it Returns
False.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are subqueries better than joins?

965


What is pls_integer in pl sql?

1093


What is sqlerrm?

927


What is mutating error?

959


What is a natural join?

1058


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

970


What is the sql query to display the current date?

1036


Can we debug stored procedure?

1018


What is exception? What are the types of exceptions?

1066


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

1099


What is the starting oracle error number?

1049


Can you skip header records while loading? : aql loader

1047


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

965


What is difference between inner join and self join?

1079


Is sql database free?

965