2017-10-05 74 views
0

我有1個程序與用戶CC_DEVICE。 在這個程序中,我有這個語句調用另一個用戶的過程。錯誤(66,3):PLS-00201:標識符必須聲明

of_device.p_msg.parse_csd_session(p_message); 

但我得到編譯包的時候這個錯誤:

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

您可能沒有權限,需要授予它。用'of_device'用戶運行''將'__vice.p_msg'授予your_current_user; – MT0

回答

2

你應該授予使用該程序有:

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

現在你可以從cc_device使用它.. 。