Subject

hp (8) hpbsm (8) omi (8) bsm (7) hpom (6) om (5) hpomi (3) apm (2) oracle (2) agile (1) automation (1) create (1) extremeprogramming (1) hpma (1) hpomima (1) ma (1) monitoring (1) monitoringautomation (1) opr-agt (1) opr-jobs (1) plsql (1) privillege (1) programming (1) role (1) tablespace (1) user (1) xp (1)

Senin, 06 April 2015

How to check oracle user privillege

here the simple SQL script to check the user privilege and role on Oracle.

Scenario is you already has oracle user and want to check whether the user has privilege as requested for operation.

Using SQLplus connect using that user and run following SQL script:

SELECT * FROM USER_SYS_PRIVS;   
SELECT * FROM USER_TAB_PRIVS;   
SELECT * FROM USER_ROLE_PRIVS; 

Here the output:






Hope it is helpful.

Tidak ada komentar:

Posting Komentar