My Oracle Support Banner

How to Grant EXECUTE Privilege on Procedure Of Package Owned By SYS user (ie:SYS.DBMS_LOCK.sleep) To a Non-DBA User (Doc ID 2511975.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


This note apply to DBAs who are not allowed to grant EXECUTE privilege on the whole package but can grant for specific procedure in the package.

For example, how to grant EXECUTE on sys.DBMS_LOCK.sleep() procedure to non-DBA users?



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.