使用行变量来获取游标信息
隐式游标
动态游标
定义
declare type emp_cur_type is ref cursor return emp%rowtype;
new_emp_cur_type emp_cur_type;
open new_emp_cur_type for select * from emp;
使用行变量来获取游标信息
隐式游标
动态游标
定义
declare type emp_cur_type is ref cursor return emp%rowtype;
new_emp_cur_type emp_cur_type;
open new_emp_cur_type for select * from emp;