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
What is difference between sql and mysql?
How do you break a loop in pl sql?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is the execution plan in sql?
Is delete faster than truncate?
What are different types of sql?
How sql query is executed?
What is the difference between clustered and non-clustered index in sql?
What does seeding a database mean?
What is foreign key and example?
Can %notfound return null after a fetch?
Is pl sql still used?
what is data integrity? : Sql dba
Can we use threading in pl/sql?
How can you create an empty table from an existing table?