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 / sdp
The message() function has not been declared in the block.
If it would have been declared then answer would be 'ELSE'
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between union and union all command?
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
Is the primary key an index?
Why stored procedures are faster than query?
what is error ora-03113: end-of-file on communication channel?
What is nvarchar in sql?
How do you change a value in sql?
What is forward declaration in pl sql?
Write the command to remove all players named sachin from the players table.
What is where clause in sql?
Mention what is the plv (pl/vision) package offers?
What are different types of sql commands?
Does truncate table reset auto increment?
How to write html code in pl sql?
Is it possible to include an insert statement on the same table to which the trigger is assigned?