你的person是个什么?
定义了吗?

解决方案 »

  1.   

    仔细看看,这句有没有错误啊!
    select no,name from persons
      

  2.   

    person是个游标呀!
    换行了呀
      

  3.   

    不是这么写的.
    package:
      type myCursor is ref cursor;package body:
         
    .....
        rc myCursor;
      begin
            open rc for select a.user_name from fnd_user a ;  
    ...
      

  4.   

    cursor  person;
    游标变量不是这样定义的
    type myCursor is ref cursor;
    并且在包头中不能声明游标变量
    必须在包体中声明:
    rc myCursor;