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
What are the different type of joins in sql?
Can we use having without group by in sql?
Why are sql stored procedures used?
how to use like conditions? : Sql dba
What is using in sql?
Which are sql * plus commands?
What are different types of sql?
what happens if you no create privilege in a database? : Sql dba
What are string functions in sql?
what is commit? : Sql dba
How to start oracle sql developer?
What is output spooling in sql*plus?
When sql appeared?
how can you create an empty table from an existing table? : Sql dba
What is serial sql?