解决方案 »

  1.   

    编译有错Compilation errors for PACKAGE SCOTT.TYPES_AUTOError: PLS-00103: 出现符号 "CREATE"
    Line: 6
    Text: create or replace procedure scott_emp_sppro3
      

  2.   

    close test_cursor;  你都已经关掉了游标,怎么可能拿的到数据
      

  3.   

    你如果是想拿结果集,下面的代码:
    loop
    fetch test_cursor into v_ename,v_sal;
    exit when test_cursor%NOTFOUND;
    end loop;
    close test_cursor;有什么意义???