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
How does postgresql compare to mysql?
What is difference between stored function and application function?
What are the set operators in sql?
What are sql functions? Describe the different types of sql functions?
what are the advantages and disadvantages of cascading style sheets? : Sql dba
Who developed sql?
what are the differences among rownum, rank and dense_rank? : Sql dba
What does (*) mean in sql?
describe transaction-safe table types in mysql : sql dba
What is a mutating table and a constraining table?
what are the 'mysql' command line arguments? : Sql dba
Which one is faster ienumerable or iqueryable?
What is the least restrictive isolation level? : Transact sql
How does a trigger work?
How to disable a trigger name update_salary?