How to see what privileges are granted to schema of another user

后端 未结 3 379
无人及你
无人及你 2021-01-31 18:18

Consider the case : In a database , I have two users A and B and their corresponding schema.

I want to know , How can I get the information : what permissions are there

3条回答
  •  -上瘾入骨i
    2021-01-31 18:50

    Login into the database. then run the below query

    select * from dba_role_privs where grantee = 'SCHEMA_NAME';

    All the role granted to the schema will be listed.

    Thanks Szilagyi Donat for the answer. This one is taken from same and just where clause added.

提交回复
热议问题