Oracle认证辅导:Oracle用户权限查询Oracle认证考试
文章作者 100test 发表时间 2009:11:11 16:39:25
来源 100Test.Com百考试题网
"gklt">
1.查看所有用户:
0select * from dba_users.
0select * from all_users.
0select * from user_users.
2.查看用户或角色系统权限(直接赋值给用户或角色的系统权限):
0select * from dba_sys_privs.
0select * from user_sys_privs.
3.查看角色(只能查看登陆用户拥有的角色)所包含的权限
sql>.0select * from role_sys_privs.
4.查看用户对象权限:
0select * from dba_tab_privs.
0select * from all_tab_privs.
0select * from user_tab_privs.
5.查看所有角色:
0select * from dba_roles.
6.查看用户或角色所拥有的角色:
0select * from dba_role_privs.
0select * from user_role_privs.
7.查看哪些用户有sysdba或sysoper系统权限(查询时需要相应权限)
0select * from V$PWFILE_USERS
编辑特别推荐:
oracle认证考试费用
Oracle的入门心得
使用Oracle外部表的五个限制
Oracle服务器参数文件维护的四个技巧