I want to give the user privileges to call a function of another user function.
I write this: GRANT EXECUTE ANY FUNCTION TO user;
but that will not work.
the user needs to call this:
call XXX.YYY.AlterAllInvalidObjects(NULL,'PACKAGE BODY');
but how can I provide a grant?
NOTE. I do not want to use: GRANT EXECUTE ON FUNCTION AlterAllInvalidObjects TO user; I need a general solution, not a specific function name.
source share