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

How do you write a complex sql query?

583


What is a sql statement?

529


what are all the common sql function? : Sql dba

580


What is ttitle and btitle?

572


What are the different sql commands?

510






What are the different types of sql commands?

597


What is difference between function and trigger?

546


How do I access sql anywhere database?

495


what is view? : Sql dba

556


how to show all tables with 'mysql'? : Sql dba

602


What is identity column in sql server?

525


What is Collation Sensitivity ? What are the various type ?

497


What is lexical units in pl sql?

566


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1384


Is the primary key an index?

593