oracle循环语句小结

主要有如下五种循环:Exit When、Loop、While、For(普通循环)、For(游标循环),下面举例一一说明(均为存储过程)。sql 一、Exit When循环: oop create or replace procedure proc_test_exit_when is i number; begin i:=0; LOOP Exit When(i>5); Dbms_Output.put
相关文章
相关标签/搜索