What is the result, when NULL is compared with NULL?
Answer Posted / sant
In oracle the below eg will help you to clear this:
DECLARE
D INTEGER :=NULL;
E INTEGER :=NULL;
BEGIN
IF (D = E) THEN
dbms_output.put_line('PASS);
ELSE
dbms_output.put_line('FAIL');
END IF;
END;
It will alwayz return FAIL.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Are pl sql variables case sensitive?
What is synchronized subquery?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
I need a function for a train ticket reservation please answer it thanks in advance
What is the difference between a primary key and a clustered index?
How delete all data from table in sql?
Do we need to create index on primary key?
Is oracle and sql same?
Explain the difference between triggers and constraints?
What are the different ddl commands in sql?
Can we commit in trigger?
Explain what is sql*plus?
What are the uses of sysdate and user keywords?
What is number function in sql?
Mention what does the hierarchical profiler does?