你可以在循环之前判断啊。如果要跳转,可以用goto
用法:
goto nextloop;
………………
………………
<<nextloop>>;--跳转到这里

解决方案 »

  1.   

    if ...then 
    null;
    else
    .....
    end if;
      

  2.   

    循环体中这么写:If 不满足条件 Then
      Exit;
    End If;
      

  3.   

    支持使用goto,但是goto不能从错误处理中返回正常的程序逻辑继续执行;
    另外,如果你这个条件不满足可以直接作为游标处理的最外层条件进行判断啊?如下:open mycur;
    fetch mycur into myvarlist;
    while mycur%found loop
      if (条件成立) then
        (处理条件成立时的逻辑,不成立时就直接跳过了)
      end if;
      fetch mycur into myvarlist;
    end loop;
      

  4.   

    loop
    fetch cursor into ....;
    exit when 条件; 
    --这里做处理;
    end loop;
    close cursor;
      

  5.   

    pl/sql没有这样的语句的,你可以写成
    if 条件满足 then
    做处理
    end if   
      

  6.   

    呵呵,东软package中狂多goto啊