摘要: 显式游标declare cursor goods_cursor --创建游标 is select * from goods where goodsid < 5; cur_goods_cursor goods%rowtype; --声明记录类型begin open goods_cursor; --打开游标 loop fetch goods_cursor into cur_goods_cursor; exit when goods_cursor %notfound; dbms_output.put_... 阅读全文
posted @ 2012-04-13 23:46 shuaisam 阅读(177) 评论(0) 推荐(0) 编辑