SQL 错误: ORA-06575: 程序包或函数 处于无效状态

lcmj520 lcmj520 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
这是一个纠结我一整天的问题了,在SQLDeveloper上写的

我的存储过程就是很简单


create or replace procedure PROC_test
as
begin
select * from dba_tables where owner = 'ACM'
end PRO_test;

执行
call PROC_test();

出现下面的错误:

SQL 错误: ORA-06575: 程序包或函数 PROC_TEST 处于无效状态
06575. 00000 - "Package or function %s is in an invalid state"
*Cause: A SQL statement references a PL/SQL function that is in an
invalid state. Oracle attempted to compile the function, but
detected errors.
*Action: Check the SQL statement and the PL/SQL function for syntax
errors or incorrectly assigned, or missing, privileges for a
referenced object.


请问有人能解决吗?

万分感激!!!!
...全文
评论 14
收藏 已收藏
分享
返回顶部
lcmj520
Oracle 17,133 成员 55,258 内容