简体   繁体   English

错误(66,3):PLS-00201:必须声明标识符

[英]Error(66,3): PLS-00201: identifier must be declared

I have 1 procedure in with the user CC_DEVICE . 我与用户CC_DEVICE有1个过程。 In this procedure I have this statement calling a procedure of another user. 在此过程中,我有此语句调用另一个用户的过程。

of_device.p_msg.parse_csd_session(p_message);

But I got this error when compiling the package: 但是我在编译软件包时遇到了这个错误:

Error(66,3): PLS-00201: identifier 'OF_DEVICE.P_MSG' must be declared

you should be granted to use that procedure with : 您应被授予在以下方面使用该程序的权限:

SQL> conn of_device/pwd1
SQL> grant execute on p_msg to cc_device
SQL> conn cc_device/pwd0

now you can use it from cc_device... 现在您可以从cc_device使用它了...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM