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 / sdp

The message() function has not been declared in the block.
If it would have been declared then answer would be 'ELSE'

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals in sql server?

520


What is java sql driver?

536


what is the difference between inner and outer join? Explain with example. : Sql dba

540


What is the use of nvl function?

607


Explian rowid, rownum?

556






What is mutating error?

502


Can you sum a count in sql?

546


How do you respond to dementia behavior?

520


What is indexes?

534


In what condition is it good to disable a trigger?

546


What are the different parts of a package?

624


Is sql developer case sensitive?

510


Why stored procedures are faster than query?

560


What is sql used for?

635


how can we know the number of days between two given dates using mysql? : Sql dba

537