declare
l1 number := null;
l2 number :=null;
begin
if l1=l2 then message('equal');
else
if l1<>l2 then message('not equal');
else
message('else');
end if;
end if;
end;
What will be the output ?
Answer Posted / subrahmanyam.k
Null is not a charcter,unapplicable and not space. we can't
applicable or compare to another. so the final output is "ELSE"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does the file extension accdb stand for?
Is pl sql still used?
Which join is like inner join?
What is before trigger?
What is the use of stored procedures?
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
What are the different types of functions in sql?
what is the difference between join and union? : Sql dba
How many functions are there in sql?
What is a null value?
What are its different types of dbms?
how to create a table index in mysql? : Sql dba
What is data abstraction in sql?
How do I debug a stored procedure?
Is it possible to create startup or shutdown trigger for on-schema?