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
Is ms sql traffic encrypted?
Can ddl statements be used in pl/sql?
What is raw datatype in sql?
What is the unique index?
Write a sql query to find the names of employees that begin with ‘a’?
What is a dynamic query?
Where not exists in sql?
What is a recursive join sql?
In what condition is it good to disable a trigger?
what is an alias command? : Sql dba
What are inner and outer joins examples of both?
Name the different types of indexes in sql and define them.
Which one is better subquery or joins?
How can triggers be used for the table auditing?
what are different types of collation sensitivity? : Sql dba