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
Is ms sql is free?
How do I enable sql encryption?
when is the use of update_statistics command? : Sql dba
What is memory optimized table?
what are the type of locks ? : Sql dba
Does a join table need a primary key?
Why are cursors used?
What is the difference between microsoft sql and mysql?
What does joining a thread mean?
What does t sql mean?
What is ttitle and btitle?
How do I use google cloud in sql?
What is the plv (pl/vision) package offers?
what are all types of user defined functions? : Sql dba
Is it possible to sort a column using a column alias?