0

I have 1 procedure in with the user CC_DEVICE . 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
Barbaros Özhan
  • 59,113
  • 10
  • 31
  • 55
en Lopes
  • 1,863
  • 11
  • 48
  • 90
  • 2
    You may not have permissions and need to grant it. With the `of_device` user run `GRANT EXECUTE ON of_device.p_msg TO your_current_user;` – MT0 Oct 05 '17 at 12:54

1 Answers1

2

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...

Barbaros Özhan
  • 59,113
  • 10
  • 31
  • 55