Examples of Granting the EXECUTE Privilege
-
Granting the
EXECUTEprivilege on a stored procedure to a role:GRANT EXECUTE ON PROCEDURE ADD_EMP_PROJ TO ROLE MANAGER; -
Granting the
EXECUTEprivilege on a stored function to a role:GRANT EXECUTE ON FUNCTION GET_BEGIN_DATE TO ROLE MANAGER; -
Granting the
EXECUTEprivilege on a package to userPUBLIC:GRANT EXECUTE ON PACKAGE APP_VAR TO USER PUBLIC; -
Granting the
EXECUTEprivilege on a function to a package:GRANT EXECUTE ON FUNCTION GET_BEGIN_DATE TO PACKAGE APP_VAR;