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
Can we use views in stored procedure?
What do you think about pl/sql?
Which join is default?
What is partition in sql query?
Explain some predefined exceptions.
what are the authentication modes in sql server? : Sql dba
What is sql injection vulnerability?
what are all different types of collation sensitivity? : Sql dba
What are the advantages of sql?
What is rtm in testing?
what is data manipulation language? : Sql dba
how to shut down the server with 'mysqladmin'? : Sql dba
Why are aggregate functions called so?
explain advantages of innodb over myisam. : Sql dba
explain normalization concept? : Sql dba