oracle中怎样让游标的结果在pl/sql中有输出结果显示declare 
type sp_emp_cursor is ref cursor;
test_cursor sp_emp_cursor;
v_ename emp.ename%type;
v_sal emp.sal%type;
begin
open test_cursor for select ename,sal from emp where deptno=&no;
loop
fetch test_cursor into v_ename,v_sal;
exit when test_cursor%notfound;
dbms_output.put_line('名称:'||v_ename||'工资:'||v_sal);
end loop;
end;
/