摘要:
显式游标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_... 阅读全文