I've couple of stored procedures(Let's say PROC_1 and PROC_2) inside one package(i.e. PROC_PKG) which is under one of schema/user (i.e. A).
I need to grant execute permission to another user(i.e. B).
So I've already tried with following commands:
grant execute on PROC_1 TO B;
grant execute on A.PROC_1 TO B;
grant execute on PROC_PKG.PROC_1 TO B;
grant execute on A.PROC_PKG.PROC_1 TO B;
I've already looked into this and this answers but they didn't helped me.
PS: I want to allow user
B to access only PROC_1 that means user B should not be able to access PROC_2 from the same package.