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
What is break?
What is the difference between nvl function, ifnull function, and isnull function?
How do rank () and dense_rank () differ?
What is the use of triggers?
What are the types pl/sql code blocks?
What is the difference between microsoft sql and mysql?
How exception is different from error?
What is a sql instance vs database?
What are the types of index in sql?
How do I find duplicates in two columns?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
What does truncate mean in sql?
When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?
What is cursor explain with example?
Which table is left in join?