-
DBMS_STATS and privileges
I'm trying to run DBMS_STATS.GATHER_SCHEMA_ STATS from within a stored procedure.
The user running it has DBA role, but I know that "sometimes" or all the time, privileges through a role doesn't work with stored procedures.
I've already granted anallyze any and execute on sys.dbms_stats directly to the user.
But I'm still getting the insufficient privilege error.
What else am I missing?
-
Answered my own question: Metalink NoteID: 203220.1
In addtion to Analyze Any, Select Any (or the specific tables in the other schema) must be granted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|