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 is the difference between nvl function, ifnull function, and isnull function?
Is hadoop a nosql?
How delete all records from table in sql?
What is a relationship and what are they?
What are the qualities of 2nf?
How do I sort a table in sql?
What are schema-level triggers?
What is sqlca in db2?
Why use stored procedures?
What is the most common sql injection tool?
What are the two types of exceptions.
What are the sql versions?
What is cascade in sql?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Can unique keys be null?