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 union? : Sql dba
what is the use of double ampersand (&&) in sql queries?
What are sql queries used for?
Are subqueries better than joins?
How do I sort a table in sql?
what is the use of set statement in tsql? : Transact sql
what are date and time functions in mysql? : Sql dba
What is sql resultset?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
What are all types of user defined functions?
Is there a way to automate sql execution from the command-line, batch job or shell script?
Show code of a cursor for loop.
what is union, minus and interact commands? : Sql dba
what is transaction? : Sql dba
What is the most important ddl statements in sql are?