betweenGo

Determining Permissions for a User

by on Jul.23, 2007, under Oracle

SQL> select privilege from user_tab_privs where lower(table_name)=’t_foo’ and lower(grantee)=’frank’;

PRIVILEGE
—————————————-
UPDATE
SELECT
INSERT
DELETE

SQL> select * from user_role_privs;

USERNAME GRANTED_ROLE ADM DEF OS_
—————————— —————————— — — —
FRANK AQ_ADMINISTRATOR_ROLE NO YES NO
PUBLIC SELECT_CATALOG_ROLE NO YES NO

Share

Related posts:

  1. List users
  2. Listing All Tables
  3. Changing a user’s password
  4. Describing Tables and Constraints in Oracle
  5. SQL Update in One Table Based on Values in Another Table

:

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!