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 / ramesh
compilation error, because you should not use two times end
if;
Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Is hadoop a nosql?
how to decrement dates by 1 in mysql? : Sql dba
Explain the difference between rename and alias?
How can you load multi line records? : aql loader
What is substitution variable in pl sql?
How can you know that statistics should be updated?
what is the difference between clustered and non clustered index in sql? : Sql dba
How can you load microsoft excel data into oracle? : aql loader
what is meant by urlencode and urldocode? : Sql dba
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is the difference between cluster and non-cluster index?
Can instead of triggers be used to fire once for each statement on a view?
Which sorts rows in sql?
how would you enter characters as hex numbers? : Sql dba
Is pl sql different from sql?