create or replace procedure biaohao(a char) is
c integer;
total integer:=0;
BEGINfor c in 1..9 loop
if(c!=5) then total:=total+c;
else goto hh;
end if;
end loop hh;
<> --这是我想加的标号块
begin
dbms_output.put_line(a||'='||total);
total:=total-1;
dbms_output.put_line(a||'='||total);
end hh;
end biaohao;各位大虾请帮我看看这个标号有什么错误,我也是第一次用标号,请指点!
c integer;
total integer:=0;
BEGINfor c in 1..9 loop
if(c!=5) then total:=total+c;
else goto hh;
end if;
end loop hh;
<> --这是我想加的标号块
begin
dbms_output.put_line(a||'='||total);
total:=total-1;
dbms_output.put_line(a||'='||total);
end hh;
end biaohao;各位大虾请帮我看看这个标号有什么错误,我也是第一次用标号,请指点!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货