forked from kerekovskik/COLLABORATE_2017
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpermissions_11g.sql
23 lines (23 loc) · 1.26 KB
/
permissions_11g.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
create user &&REPLICATION_USER identified by "temp_123" DEFAULT TABLESPACE &&DEFAULT_REPLICATION_TABLESPACE;
alter user &&REPLICATION_USER quota unlimited on &&DEFAULT_REPLICATION_TABLESPACE;
grant resource,create session to &&REPLICATION_USER ;
grant select on v_$database to &&REPLICATION_USER ;
grant select on v_$transaction to &&REPLICATION_USER ;
grant select on v_$logmnr_contents to &&REPLICATION_USER ;
grant select on gv_$transaction to &&REPLICATION_USER ;
grant select on dba_users to &&REPLICATION_USER ;
grant select on dba_tables to &&REPLICATION_USER ;
grant select on DBA_LOG_GROUPS to &&REPLICATION_USER ;
grant select on dba_constraints to &&REPLICATION_USER ;
grant execute_catalog_role to &&REPLICATION_USER ;
grant select_catalog_role to &&REPLICATION_USER ;
grant create database link to &&REPLICATION_USER ;
grant execute on DBMS_UTILITY to &&REPLICATION_USER ;
grant execute on DBMS_LOGMNR to &&REPLICATION_USER ;
grant alter any table to &&REPLICATION_USER ;
grant select any table to &&REPLICATION_USER;
grant delete any table to &&REPLICATION_USER;
grant insert any table to &&REPLICATION_USER;
grant update any table to &&REPLICATION_USER;
grant drop any table to &&REPLICATION_USER;
grant SELECT ANY TRANSACTION to &&REPLICATION_USER ;