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 / ramesh
compilation error, because you should not use two times end
if;
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Where the sql database files are stored?
What are tables and fields?
what are myisam tables? : Sql dba
What is %s in sql?
what is user defined functions? : Sql dba
How many types of triggers exist in pl/sql?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
What is the use of function in sql?
Is the primary key an index?
What is left inner join in sql?
What is a primary key sql?
Is sqlite free?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
What is a crud api?
What is pl sql and why it is used for?