问题大概是这样的,游标用来返回数据集以便在报表中呈现,游标是在包中定义,之前使用一切正常。现在包被重新编译了,内容不变,并且编译后没有任何错误,但是所有用到的游标都出问题了,提示“ORA-06508: PL/SQL: 无法在调用之前找到程序单元”请教了一些人,据说和“实例化”可能有关,请各位帮忙看看。

解决方案 »

  1.   

    ORA-06508 PL/SQL: could not find program unit being calledCause: An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.Action: Check that all referenced programs, including their package bodies, exist and are compatible.