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 / arup ratan banerjee
The answer will be "not equal"
because when two null values are compared then it Returns
False.
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What is #table in sql?
How can we make an if statement within a select statement?
What's the difference between a primary key and a clustered index?
What is sql injection vulnerability?
How many developers work on postgresql?
How do I save a stored procedure?
What is a Mapplet?
Differentiate between pl/sql and sql?
Is sqlite thread safe?
What is a database event trigger?
What are types of joins?
What is dynamic sql in pl sql?
What is sql trigger example?
What is oracle and pl sql?
What's the difference between inner join and left join?