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
what is index? : Sql dba
what are sequences
What is integrity in sql?
Can a table contain multiple primary key’s?
differentiate between float and double. : Sql dba
What is the non-clustered index in sql?
What is flag in sql?
Can procedure in package be overloaded?
Can we join more than 2 tables in sql?
What is the difference between stored procedure and view?
Do we need to rebuild index after truncate?
What is the best free sql database?
Is pl sql different from sql?
What is the use of <> sql?
What is time based sql injection?