We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

View the privleges on a materialize view in oracle

Medium Priority
463 Views
Last Modified: 2012-05-11
Hello, i am looking for a way to view all the privileges that have been granted on a materialized view in oracle.  I know with tables you can do this:

select Grantee, privilege from dba_tab_privs where table_name='tablename'

Open in new window


But when i do this with a materialized view(substitute the name of the view in for the table name), it returns nothing.  Does anyone know how i can do this.  It must be done using sql as i'm using it in a script.

Thank You in advance.
Comment
Watch Question

Database Administrator
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Alex MatzingerDatabase Administrator

Author

Commented:
The sql needed is in the question, i just needed to remember that oracle uses all caps for object names
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.