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 constraints available in sql?
what is schema? : Sql dba
What does select top 1 do in sql?
what is the difference between blob and text? : Sql dba
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What is native sql query?
What is orm in sql?
What is normalization in a database?
How many postgresql users are there, worldwide?
What are % type and % rowtype?
What is mdf ldf and ndf?
what is cursor. write example of it. What are the attributes of cursor.
What is scalar function?
What is left join example?
What is foreign key and example?