如何查看oracle用戶具有的權限和角色?
1.查看所有用戶: select*fromdba_users; select*fromall_users; select*fromuser_users;
2.查看用戶或角色系統權限(直接賦值給用戶或角色的系統權限): select*fromdba_sys_privs; select*fromuser_sys_privs;
3.查看角色(只能查看登陸用戶擁有的角色)所包含的權限 sql>select*fromrole_sys_privs;
4.查看用戶對象權限: select*fromdba_tab_privs; select*fromall_tab_privs; select*fromuser_tab_privs;
5.查看所有角色: select*fromdba_roles;