I want to give privileges to a user to call a function another users function.
I write this : GRANT EXECUTE ANY FUNCTION TO user;
but it doesn't work.
user need to call this:
call XXX.YYY.AlterAllInvalidObjects(NULL,'PACKAGE BODY');
but how can I give grant ?
NOTE : I don't want to use : GRANT EXECUTE ON FUNCTION AlterAllInvalidObjects TO user;
I need general solution not specific function name.