我创建了一个名为过程迎接为:为什么我在尝试调用过程时遇到错误?
create procedure greet(message in char(50))
as
begin
dbms_output.put_line('Greet Message : ' || message);
end;
编译成功,但是当我尝试调用它的操作过程:
execute greet('Hey ! This is a self created procedure :)');
我得到一个错误:
execute greet('Hey ! This is a self created procedure :)')
Error report:
ORA-06550: line 1, column 7:
PLS-00905: object SUHAIL.GREET is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
这是什么错误?我为什么得到它?
注:“suhail”是连接到Oracle服务器
@EgorSkriptunoff属性的值是'ERROR'!但是早些时候它给出了编译成功的信息: –
:它是如何编译的? –