troubleshooting Question


Avatar of sam15
sam15 asked on
Oracle Database
6 Comments1 Solution285 ViewsLast Modified:
Is there a way to get the "object" grants issued by a user/schema and to that user in oracle to other users?

I have an account "SCOTT" in a 9i database.

I created the same user in a 11g database.

I checked the ROLES, SYSTEM PRIVS using the folowing and isued them to the user in 11g.

-- Get Roles assigned
select grantee, granted_role from dba_role_privs where grantee='SCOTT';

--Get sys privs assigned
select role, owner, table_name privilege from user_sys_privs where role='SCOTT';

There is a view "USER_TAB_PRIVS" but I d onto know how you can rebuid the grants needed from that.
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros