-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreate user
More file actions
37 lines (33 loc) · 912 Bytes
/
Copy pathCreate user
File metadata and controls
37 lines (33 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
CREATE USER anatoliy_admin IDENTIFIED BY oracle;
GRANT CONNECT TO anatoliy_admin;
GRANT CONNECT, RESOURCE, DBA TO anatoliy_admin;
GRANT UNLIMITED TABLESPACE TO anatoliy_admin;
GRANT
SELECT,
INSERT,
UPDATE,
DELETE
ON
schema.books
TO
books_admin;
grant create session to test;
grant create table to test;
grant create procedure to test;
grant create trigger to test;
grant create view to test;
grant create sequence to test;
grant alter any table to test;
grant alter any procedure to test;
grant alter any trigger to test;
grant alter profile to test;
grant delete any table to test;
grant drop any table to test;
grant drop any procedure to test;
grant drop any trigger to test;
grant drop any view to test;
grant drop profile to test;
grant select on sys.v_$session to test;
grant select on sys.v_$sesstat to test;
grant select on sys.v_$statname to test;
grant SELECT ANY DICTIONARY to test;