【发布时间】:2012-12-05 16:23:31
【问题描述】:
我有一个调用存储过程的 python 脚本。我很确定我的 python 脚本没有问题,因为当它调用存储的过程时我得到了这个错误:
ORA-04063: package body "db.package_name" has errors ORA-06508: PL/SQL: could not find program unit being called: "db.package_name" ORA-06512: at line 1
我有时也遇到这个错误:
ORA-01403: no data found ORA-06512: at "db.package_name", line 16 ORA-06512: at line 1
在 SQL dev 中查看包,我在其名称上看到一个红色 x,然后右键单击 > compile 给出:
Error(10): PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: begin end function pragma procedure
它调用的过程也有一个红色的 x 并且编译给出:
Error(5,3): PLS-00428: an INTO clause is expected in this SELECT statement
所以这让我相信这是包装/程序的问题?
【问题讨论】: