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