我有一个调用存储过程的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,然后右键单击>编译给出了这个:
Error(10): PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: begin end function pragma procedure
它调用的procd也有一个红色的x和编译,它给出了:
Error(5,3): PLS-00428: an INTO clause is expected in this SELECT statement
所以这让我相信这是包装/程序的概率?
答案 0 :(得分:1)
正确,问题在于程序,而不是Python。