急用 恶补! 希望帮助~ 

解决方案 »

  1.   


    权限分系统权限和实体权限,角色是一组权限的集合,可以将权限和角色授予用户与权限,角色相关的视图大概有下面这些:DBA_SYS_PRIVS:      查询某个用户所拥有的系统权限USER_SYS_PRIVS:    查询当前用户所拥有的系统权限SESSION_PRIVS:       查询当前用户所拥有的全部权限ROLE_SYS_PRIVS:    查询某个角色所拥有的系统权限注意: 要以SYS用户登陆查询这个视图,否则返回空.ROLE_ROLE_PRIVS: 当前角色被赋予的角色SESSION_ROLES:      当前用户被激活的角色USER_ROLE_PRIVS:  当前用户被授予的角色
    链接地址 :http://hi.baidu.com/%C9%EE%B2%D8zang/blog/item/3741a6f243585ac7b48f31e7.html
      

  2.   

    oracle 权限是oracle 赋予给用户能对oracle db进行什么操作,oracle 角色是权限的集合, for example, you create a user test, you can grant create table, create session and so on of the privileges, and if you also create a role, you can give the same privileges to roles, the different is that you can grant the role to users which make the users have the same privilege as the roles