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
is it possible to pass an object or table to a procedure as an argument?
Is sql harder than python?
How insert into statements in sql?
Explain what is sql?
Can I learn sql in a week?
in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.
How are functions and procedures called in PL/SQL?
What is int identity in sql?
Which are the different character-manipulation functions in sql?
How do you pronounce sql?
What is a sql statement?
How does sql store data?
Can you join views in sql?
What is sql injection owasp?
Do stored procedures prevent sql injection?