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 / subrahmanyam.k
Null is not a charcter,unapplicable and not space. we can't
applicable or compare to another. so the final output is "ELSE"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is right join sql?
What is rename command in sql?
What company owns postgresql?
What are primary key and foreign key and how they work?
What are triggers in sql?
What is percent sign in sql?
What does pragma mean?
What is procedure explain with example?
what is the difference between cluster and non cluster index? : Sql dba
How is pl sql different from sql?
How do I run a sql query?
Explain what is a subquery ?
What is the use of index in sql?
What does varchar include?
Explain how exception handling is done in advance pl/sql?