oracle DBA 角色重建

执行以下SQL语句

-- Create the role 
19140241_VtNF.gifcreate role DBA;
19140241_VtNF.gif-- Grant/Revoke object privileges 
19140241_VtNF.gifgrant execute on DBMS_DBVERIFY to DBA;
19140241_VtNF.gifgrant execute on DBMS_DEFER_QUERY to DBA;
19140241_VtNF.gifgrant execute on DBMS_DEFER_SYS to DBA;
19140241_VtNF.gifgrant execute on DBMS_FEATURE_USAGE to DBA;
19140241_VtNF.gifgrant execute on DBMS_FLASHBACK to DBA;
19140241_VtNF.gifgrant execute on DBMS_MONITOR to DBA;
19140241_VtNF.gifgrant execute on DBMS_RESUMABLE to DBA;
19140241_VtNF.gifgrant execute on DBMS_SERVER_ALERT to DBA;
19140241_VtNF.gifgrant execute on DBMS_SERVER_TRACE to DBA;
19140241_VtNF.gifgrant execute on DBMS_SERVICE to DBA;
19140241_VtNF.gifgrant execute on DBMS_STORAGE_MAP to DBA;
19140241_VtNF.gifgrant execute on DBMS_UADV_ARR to DBA;
19140241_VtNF.gifgrant execute on DBMS_UNDO_ADV to DBA;
19140241_VtNF.gifgrant execute on DBMS_WORKLOAD_REPOSITORY to DBA;
19140241_VtNF.gifgrant execute on LOAD_UNDO_STAT to DBA;
19140241_VtNF.gifgrant select, insert, update, delete, alter on MAP_OBJECT to DBA;
19140241_VtNF.gifgrant execute on OUTLN_EDIT_PKG to DBA;
19140241_VtNF.gifgrant execute on OUTLN_PKG to DBA;
19140241_VtNF.gifgrant execute on RESET_UNDO_STAT to DBA;
19140241_VtNF.gif-- Grant/Revoke role privileges 
19140241_VtNF.gifgrant delete_catalog_role to DBA with admin option;
19140241_VtNF.gifgrant execute_catalog_role to DBA with admin option;
19140241_VtNF.gifgrant exp_full_database to DBA;
19140241_VtNF.gifgrant gather_system_statistics to DBA;
19140241_VtNF.gifgrant imp_full_database to DBA;
19140241_VtNF.gifgrant java_admin to DBA;
19140241_VtNF.gifgrant java_deploy to DBA;
19140241_VtNF.gifgrant olap_dba to DBA;
19140241_VtNF.gifgrant scheduler_admin to DBA with admin option;
19140241_VtNF.gifgrant select_catalog_role to DBA with admin option;
19140241_VtNF.gifgrant wm_admin_role to DBA;
19140241_VtNF.gifgrant xdbadmin to DBA;
19140241_VtNF.gif-- Grant/Revoke system privileges 
19140241_VtNF.gifgrant administer any sql tuning set to DBA with admin option;
19140241_VtNF.gifgrant administer database trigger to DBA with admin option;
19140241_VtNF.gifgrant administer resource manager to DBA with admin option;
19140241_VtNF.gifgrant administer sql tuning set to DBA with admin option;
19140241_VtNF.gifgrant advisor to DBA with admin option;
19140241_VtNF.gifgrant alter any cluster to DBA with admin option;
19140241_VtNF.gifgrant alter any dimension to DBA with admin option;
19140241_VtNF.gifgrant alter any evaluation context to DBA with admin option;
19140241_VtNF.gifgrant alter any index to DBA with admin option;
19140241_VtNF.gifgrant alter any indextype to DBA with admin option;
19140241_VtNF.gifgrant alter any library to DBA with admin option;
19140241_VtNF.gifgrant alter any materialized view to DBA with admin option;
19140241_VtNF.gifgrant alter any outline to DBA with admin option;
19140241_VtNF.gifgrant alter any procedure to DBA with admin option;
19140241_VtNF.gifgrant alter any role to DBA with admin option;
19140241_VtNF.gifgrant alter any rule to DBA with admin option;
19140241_VtNF.gifgrant alter any rule set to DBA with admin option;
19140241_VtNF.gifgrant alter any sequence to DBA with admin option;
19140241_VtNF.gifgrant alter any sql profile to DBA with admin option;
19140241_VtNF.gifgrant alter any table to DBA with admin option;
19140241_VtNF.gifgrant alter any trigger to DBA with admin option;
19140241_VtNF.gifgrant alter any type to DBA with admin option;
19140241_VtNF.gifgrant alter database to DBA with admin option;
19140241_VtNF.gifgrant alter profile to DBA with admin option;
19140241_VtNF.gifgrant alter resource cost to DBA with admin option;
19140241_VtNF.gifgrant alter rollback segment to DBA with admin option;
19140241_VtNF.gifgrant alter session to DBA with admin option;
19140241_VtNF.gifgrant alter system to DBA with admin option;
19140241_VtNF.gifgrant alter tablespace to DBA with admin option;
19140241_VtNF.gifgrant alter user to DBA with admin option;
19140241_VtNF.gifgrant analyze any to DBA with admin option;
19140241_VtNF.gifgrant analyze any dictionary to DBA with admin option;
19140241_VtNF.gifgrant audit any to DBA with admin option;
19140241_VtNF.gifgrant audit system to DBA with admin option;
19140241_VtNF.gifgrant backup any table to DBA with admin option;
19140241_VtNF.gifgrant become user to DBA with admin option;
19140241_VtNF.gifgrant comment any table to DBA with admin option;
19140241_VtNF.gifgrant create any cluster to DBA with admin option;
19140241_VtNF.gifgrant create any context to DBA with admin option;
19140241_VtNF.gifgrant create any dimension to DBA with admin option;
19140241_VtNF.gifgrant create any directory to DBA with admin option;
19140241_VtNF.gifgrant create any evaluation context to DBA with admin option;
19140241_VtNF.gifgrant create any index to DBA with admin option;
19140241_VtNF.gifgrant create any indextype to DBA with admin option;
19140241_VtNF.gifgrant create any job to DBA with admin option;
19140241_VtNF.gifgrant create any library to DBA with admin option;
19140241_VtNF.gifgrant create any materialized view to DBA with admin option;
19140241_VtNF.gifgrant create any operator to DBA with admin option;
19140241_VtNF.gifgrant create any outline to DBA with admin option;
19140241_VtNF.gifgrant create any procedure to DBA with admin option;
19140241_VtNF.gifgrant create any rule to DBA with admin option;
19140241_VtNF.gifgrant create any rule set to DBA with admin option;
19140241_VtNF.gifgrant create any sequence to DBA with admin option;
19140241_VtNF.gifgrant create any sql profile to DBA with admin option;
19140241_VtNF.gifgrant create any synonym to DBA with admin option;
19140241_VtNF.gifgrant create any table to DBA with admin option;
19140241_VtNF.gifgrant create any trigger to DBA with admin option;
19140241_VtNF.gifgrant create any type to DBA with admin option;
19140241_VtNF.gifgrant create any view to DBA with admin option;
19140241_VtNF.gifgrant create cluster to DBA with admin option;
19140241_VtNF.gifgrant create database link to DBA with admin option;
19140241_VtNF.gifgrant create dimension to DBA with admin option;
19140241_VtNF.gifgrant create evaluation context to DBA with admin option;
19140241_VtNF.gifgrant create indextype to DBA with admin option;
19140241_VtNF.gifgrant create job to DBA with admin option;
19140241_VtNF.gifgrant create library to DBA with admin option;
19140241_VtNF.gifgrant create materialized view to DBA with admin option;
19140241_VtNF.gifgrant create operator to DBA with admin option;
19140241_VtNF.gifgrant create procedure to DBA with admin option;
19140241_VtNF.gifgrant create profile to DBA with admin option;
19140241_VtNF.gifgrant create public database link to DBA with admin option;
19140241_VtNF.gifgrant create public synonym to DBA with admin option;
19140241_VtNF.gifgrant create role to DBA with admin option;
19140241_VtNF.gifgrant create rollback segment to DBA with admin option;
19140241_VtNF.gifgrant create rule to DBA with admin option;
19140241_VtNF.gifgrant create rule set to DBA with admin option;
19140241_VtNF.gifgrant create sequence to DBA with admin option;
19140241_VtNF.gifgrant create session to DBA with admin option;
19140241_VtNF.gifgrant create synonym to DBA with admin option;
19140241_VtNF.gifgrant create table to DBA with admin option;
19140241_VtNF.gifgrant create tablespace to DBA with admin option;
19140241_VtNF.gifgrant create trigger to DBA with admin option;
19140241_VtNF.gifgrant create type to DBA with admin option;
19140241_VtNF.gifgrant create user to DBA with admin option;
19140241_VtNF.gifgrant create view to DBA with admin option;
19140241_VtNF.gifgrant debug any procedure to DBA with admin option;
19140241_VtNF.gifgrant debug connect session to DBA with admin option;
19140241_VtNF.gifgrant delete any table to DBA with admin option;
19140241_VtNF.gifgrant dequeue any queue to DBA with admin option;
19140241_VtNF.gifgrant drop any cluster to DBA with admin option;

转载于:https://my.oschina.net/cccyb/blog/1553315

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值