摘要:
我们在Oracle存储过程中需要遍历一张表,应该怎样做。我想大多少的人第一个念头就是Cursor。 比如: create or replace procedure StudyCursor( resulst out integer ) is v_tablename varchar(30); v_tabletype varchar(11); cursor mycursor is select * from cat; begin open mycursor; loop fetch mycursor into v_tablename,v_tabletype; null; --... 阅读全文
posted @ 2014-03-07 17:18
kenwong
阅读(433)
评论(1)
推荐(1)

浙公网安备 33010602011771号