PL/SQL (MOSC)

MOSC Banner

Question on AUTHID

edited Apr 17, 2020 5:00AM in PL/SQL (MOSC) 5 commentsAnswered
 Hello Everyone
I have created a package A with AUTHID set to DEFINER.

This package has a procedure A.B. Here the AUTHID is set to CURRENT_USER.

And this procedure A.B calls another system package say DBMS_STATS which will have its own AUTHID.

So, we have different AUTHID settings at different levels. How does it all work out ? Which one takes the preference ?

--
Best Regards
Vishal

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center