zoukankan      html  css  js  c++  java
  • oracle 中的角色

    conn sys as sysdba;
    create role testrole;
    grant create session, create table, unlimited tablespace to testrole;
    create user test identified by test;
    grant testrole to test;
    conn test/test;


    oracle 中常用的角色:

    connect resource

    conn sys as sysdba;
    create user test identified by test;
    grant connect, resource to test;
    查看系统中有哪些角色:
    select * from dba_roles;
    查看角色具有的权限:
    select * from dba_sys_privs d where d.grantee='RESOURCE';
    select * from dba_sys_privs d where d.grantee='CONNECT';
    查看角色具有的系统权限:
    select * from role_sys_privs d where d.role = 'TESTROLE';
    查看角色具有的对象权限:
    select * from dba_tab_privs d where rownum < 5;
    查看用户具有的对象权限:
    select * from dba_tab_privs d where d.grantee = 'test';

    查看一个用户的权限:
    select * from dba_sys_privs d where d.grantee='TEST';(dba登陆)

  • 相关阅读:
    Spherical Harmonic Lighting
    EV/ISO/Stop
    opengles dither
    rgb颜色空间到xyz空间的映射
    LUT color grading
    tonemapping
    ue4 sequencer
    pbr -physical based rendering
    BRDF
    /sockjs-node/info 报错问题
  • 原文地址:https://www.cnblogs.com/Mike_Chang/p/9275868.html
Copyright © 2011-2022 走看看