• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2802
  • Last Modified:

grants

How to check what grants a user has been given in the oracle schema?
0
pkchhabra
Asked:
pkchhabra
  • 2
1 Solution
 
Jinesh KamdarCommented:
If ur logged in as that user, try these.

SELECT * FROM USER_SYS_PRIVS;
SELECT * FROM USER_ROLE_PRIVS;
SELECT * FROM FROM ALL_TAB_PRIVS;
SELECT * FROM TABLE_PRIVILEGES;
SELECT * FROM ROLE_SYS_PRIVS;
SELECT * FROM ROLE_TAB_PRIVS;
0
 
pkchhabraAuthor Commented:
Is it schema specific? i mean i have(the use) the rights to create the table and procedures but the schema in which he wants to create the tables is not allowing to do so by saying insufficient priviledges.
0
 
Jinesh KamdarCommented:
Yes, grants are mostly given to specific users. If you need access to create objects under other users, then you will have to get ur DBA to grant u those required privileges and then you can create them in other schemas.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now