CREATE/DEBUG ANY PROCEDURE
Mikhail Velikikh, August 19, 2024 - 9:36 am UTC
> A package body in schema "X" cannot be seen from anyone outside schema "X" unless they are a DBA even if they have execution rights.
Anyone with CREATE ANY PROCEDURE or DEBUG ANY PROCEDURE will see package bodies as far as 19c is concerned. Don't need to be a DBA for that. DBA is just one of the roles that have those system privileges.
August 21, 2024 - 5:17 am UTC
Anyone with CREATE ANY PROCEDURE or DEBUG ANY PROCEDURE raises far more questions that being able to *see* code :-)
DBMS_DDL.WRAP
Jim Dickson, August 19, 2024 - 10:48 am UTC
August 21, 2024 - 5:24 am UTC
DDL wrap is useful but be aware there are plenty of unwrappers out there.