What is the result, when NULL is compared with NULL?
Answer Posted / kuldeep123
DECLARE
v1 NUMBER;
v2 NUMBER;
BEGIN
IF v1 = v2
THEN
DBMS_OUTPUT.put_line ('Null comapred successfully');
ELSE
DBMS_OUTPUT.put_line ('oops u have to use ISNULL opeartor');
END IF;
END;
output : oops u have to use ISNULL opeartor
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is pl sql different from sql?
how to concatenate two character strings? : Sql dba
what is the difference between union and union all? : Sql dba
Does sql backup shrink transaction log?
Advantages and disadvantages of stored procedure?
How do I count rows in sql query?
List the ways to get the count of records in a table?
how to select first 5 records from a table? : Sql dba
What can I use instead of union in sql?
What is native sql query?
What is not null in sql?
What are different sql data types?
What are the different types of joins in sql?
what is a tablespace? : Sql dba
Which nosql database is best?