create or replace procedure test01 is
V_TEST number(10):=1;
begin
if V_TEST = 1 then
dbms_output.put_line('1----');
end if;
if V_TEST = 1 then
dbms_output.put_line('1----');
else if V_TEST = 2 then
dbms_output.put_line('2----');
else if V_TEST = 3 then
dbms_output.put_line('3----');
end if;
end if;
end if;
end test01;