Which privilege is needed to see the package body source owned by another user (Doc ID 746978.1)

Last updated on DECEMBER 06, 2016

Applies to:

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

Goal

When user A creates a package body, user B cannot see the package body source code after user B
has been granted the execute privilege on the package.
User B only sees the package header source, not the package body source.
Which privilege can be granted in order to ensure that user B can see the package body source code
from the package body created by user A?

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms