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

What is sql engine in oracle?

519


Why do we use sqlite?

529


How many triggers can be applied to a table?

596


What is use of trigger?

510


What does bitemporal mean?

595






i have some prob lem to tell me about my self in interview first round ...

1700


What are few of the schema objects that are created using PL/SQL?

559


What is pessimistic concurrency control? : Transact sql

584


When is the explicit cursor used ?

588


Does normalization improve performance?

552


Explain how to use transactions efficiently : transact sql

527


How to pronounce postgresql?

578


Is nosql relational?

546


How can I speed up sql query?

522


How long does it take to learn pl sql?

603