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 / anil kumar jampana

else
bz, null is an undefined value

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you have more than one trigger on a table?

532


what is dbms? : Sql dba

546


What is bitemporal narrowing?

739


Which normal form is best?

517


What is type and rowtype in pl sql?

539






What is an implicit commit?

561


Explain exception handling in pl/sql?

535


How to change sql*plus system settings?

544


Can a view be mutating? If yes, then how?

581


What is sql constant?

510


What is the difference between inner join and left join?

550


How do you remove duplicate records from a table?

511


what is the use of friend function? : Sql dba

543


Why triggers are used?

557


what is a composite key ? : Sql dba

611