How to find Privileges on Directory in Oracle

Find Privileges on Directory in Oracle


Oracle has introduced the concept of
DIRECTORY which is a type of object and introduced in Oracle version 8.0. DIRECTORY is a logical structure that presents a physical directory on the database server’s file system.
DIRECTORY  can be used in DATAPUMP, PL/SQL block, UTL_FILE packages, etc In Oracle.


Below is the command to find privileges on DIRECTORY in Oracle.
Click here for sample output. 

SET LINES 333
COL GRANTEE FOR A15
COL DIRECTORY_NAME FOR A25
COL TYPE FOR A11
COL PRIVILEGE FOR A11

SELECT NAME,GRANTEE,TABLE_NAME "DIRECTORY_NAME",PRIVILEGE,TYPE FROM V$DATABASE, DBA_TAB_PRIVS 
WHERE TABLE_NAME = 'MOMO_DIR_LAB' ORDER BY GRANTEE,PRIVILEGE;
prompt$$$$$$$**Welcome to DBsGuru!**Share Learn Grow**$$$$$$$

Hope so you like this article!
Please share your valuable feedback/comments/subscribe and follow us below and don’t forget to click on the bell icon to get the most recent update. Click here to know more about our pursuit.

 

 570 Total Views,  4 Views Today

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Spread the Knowledge!

2 thoughts on “<a href="https://dbsguru.com/find-privileges-on-directory-in-oracle/">How to find Privileges on Directory in Oracle<a>”

  1. Excellent article team dbsguru.
    Suman sir grand salute to you and whole team for your work.
    Please continue it.
    I seriously wanted to join you in this work and wanted to learn and become part of your team.

Leave a Reply

Your email address will not be published. Required fields are marked *

two × two =

Open chat
1
Contact Us:
Hi,

Greetings of the day! How can we help you?

Thanks.
Team DBsGuru
Direct Call:+91-9310167776
Email: info@dbsguru.com