oracle goto循环,oraclegoto
如下:
declare
x number;
begin
x:=0;
<<gsign>> --定义goto标签
x:=x+1; --这里加几就是控制step的方法
dbms_output.put_line(x);
if x<5 then
goto gsign; --将语句定义到上面goto的地方
end if;
end;
http://www.htsjk.com/shujukunews/5008.html
www.htsjk.Com
true
http://www.htsjk.com/shujukunews/5008.html
NewsArticle
oracle goto循环,oraclegoto 如下: declarex number;beginx:=0;gsign --定义goto标签x:=x+1; --这里加几就是控制step的方法dbms_output.put_line(x); if x5 thengoto gsign; --将语句定义到上面goto的地方end if;end;...
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。