标签:style blog io color ar sp for div on
declare v_id tbl_regions.regions_id%type; begin for v_i in 1..35 loop select t.regions_id into v_id from tbl_regions t where t.regions_id=v_i; dbms_output.put_line(v_id); update tbl_regions s set s.regions_sort = v_id where s.regions_id=v_i; end loop; end;
declare v_i int:=1; v_j int:=1; begin while v_i<10 loop v_j:=1; while v_j<=v_i loop dbms_output.put(v_j||‘*‘||v_i||‘=‘||v_i*v_j||‘ ‘); v_j:=v_j+1; end loop; dbms_output.put_line(‘‘); v_i:=v_i+1; end loop; end;
标签:style blog io color ar sp for div on
原文地址:http://www.cnblogs.com/estellez/p/4081835.html