What is the result, when NULL is compared with NULL?
Answer Posted / archana
begin
if null is null then
dbms_output.put_line('null');
else
dbms_output.put_line('not null');
end if
end;
now it will return null
it is recommended to use 'is' with null not ' ='
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use partitions in sql?
What is %type in pl sql?
explain mysql aggregate functions. : Sql dba
Is join an inner join?
What are different clauses used in sql?
What is trigger in sql? Explain
What is the difference between a primary key and a clustered index?
What are the different types of sql commands?
What are the three pl sql block types?
Does inner join remove duplicates?
Can there be more than one function with a similar name in a pl/sql block?
What is data profiling in sql?
define sql update statement ? : Sql dba
How to use boolean type in select statement?
What is a constraint?