zoukankan      html  css  js  c++  java
  • oracle之用户授权

    --授予dba权限 
    grant dba to userName
    --回收dba权限 
    revoke dba from userName
    --授予用户登录数据库的权限: 
    grant create session to userName;
    --授予用户操作表空间的权限:
    grant unlimited tablespace to userName;
    grant create tablespace to userName;
    grant alter tablespace to userName;
    grant drop tablespace to userName;
    grant manage tablespace to userName;
    --授予用户操作表的权限:
    grant create table to userName; (包含有create index权限, alter table, drop table权限)
    --授予用户操作视图的权限:
    grant create view to userName; (包含有alter view, drop view权限)
    --授予用户操作触发器的权限:
    grant create trigger to userName; (包含有alter trigger, drop trigger权限)
    --授予用户操作存储过程的权限:
    grant create procedure to userName;(包含有alter procedure, drop procedure 和function 以及 package权限)
    --授予用户操作序列的权限:
    grant create sequence to userName; (包含有创建、修改、删除以及选择序列)
    --授予用户回退段权限:
    grant create rollback segment to userName;
    grant alter rollback segment to userName;
    grant drop rollback segment to userName;
    --授予用户同义词权限:
    grant create synonym to userName;(包含drop synonym权限)
    grant create public synonym to userName;
    grant drop public synonym to userName;
    --授予用户关于用户的权限:
    grant create user to userName;
    grant alter user to userName;
    grant become user to userName;
    grant drop user to userName;
    --授予用户关于角色的权限:
    grant create role to userName;
    --授予用户操作概要文件的权限
    grant create profile to userName;
    grant alter profile to userName;
    grant drop profile to userName;
    --允许从sys用户所拥有的数据字典表中进行选择
    grant select any dictionary to userName;
  • 相关阅读:
    __weak
    c++界面设计皮肤工具
    执行游戏时出现0xc000007b错误的解决方法
    2.4.1-Java语言基础(常量)
    句法模式识别(一)-串文法
    一步一步写算法(之hash表)
    LaTeX新人教程,30分钟从全然陌生到基本入门
    初次当面试官的经历和感触
    Android入门第八篇之GridView(九宫图)
    Android-Cannot merge new index 66195 into a non-jumbo instruction的解决的方法
  • 原文地址:https://www.cnblogs.com/rdchen/p/13957567.html
Copyright © 2011-2022 走看看