58 lines
2.5 KiB
SQL
58 lines
2.5 KiB
SQL
------------------------------------------------
|
|
--创建用户_PERSONNEL_STORAGE
|
|
------------------------------------------------
|
|
create user PERSONNEL_STORAGE identified by qrwl default tablespace PERSONNEL_STORAGE temporary tablespace realestate_tempgroup profile default;
|
|
--授予角色权限
|
|
grant connect to PERSONNEL_STORAGE;
|
|
grant dba to PERSONNEL_STORAGE;
|
|
--授予系统权限
|
|
grant under any view to PERSONNEL_STORAGE;
|
|
grant select any table to PERSONNEL_STORAGE;
|
|
grant grant any role to PERSONNEL_STORAGE;
|
|
grant grant any object privilege to PERSONNEL_STORAGE;
|
|
grant execute any program to PERSONNEL_STORAGE;
|
|
grant grant any privilege to PERSONNEL_STORAGE;
|
|
grant create any procedure to PERSONNEL_STORAGE;
|
|
grant select any sequence to PERSONNEL_STORAGE;
|
|
grant create any view to PERSONNEL_STORAGE;
|
|
grant under any type to PERSONNEL_STORAGE;
|
|
grant alter any procedure to PERSONNEL_STORAGE;
|
|
grant insert any table to PERSONNEL_STORAGE;
|
|
grant unlimited tablespace to PERSONNEL_STORAGE;
|
|
grant execute any procedure to PERSONNEL_STORAGE;
|
|
grant create any table to PERSONNEL_STORAGE;
|
|
grant select any dictionary to PERSONNEL_STORAGE;
|
|
grant alter any operator to PERSONNEL_STORAGE;
|
|
grant delete any table to PERSONNEL_STORAGE;
|
|
grant update any table to PERSONNEL_STORAGE;
|
|
grant alter any table to PERSONNEL_STORAGE;
|
|
|
|
------------------------------------------------
|
|
--创建用户_PERSONNEL_HISTORY
|
|
------------------------------------------------
|
|
create user PERSONNEL_HISTORY identified by qrwl default tablespace PERSONNEL_HISTORY temporary tablespace realestate_tempgroup profile default;
|
|
--授予角色权限
|
|
grant connect to PERSONNEL_HISTORY;
|
|
grant dba to PERSONNEL_HISTORY;
|
|
--授予系统权限
|
|
grant under any view to PERSONNEL_HISTORY;
|
|
grant select any table to PERSONNEL_HISTORY;
|
|
grant grant any role to PERSONNEL_HISTORY;
|
|
grant grant any object privilege to PERSONNEL_HISTORY;
|
|
grant execute any program to PERSONNEL_HISTORY;
|
|
grant grant any privilege to PERSONNEL_HISTORY;
|
|
grant create any procedure to PERSONNEL_HISTORY;
|
|
grant select any sequence to PERSONNEL_HISTORY;
|
|
grant create any view to PERSONNEL_HISTORY;
|
|
grant under any type to PERSONNEL_HISTORY;
|
|
grant alter any procedure to PERSONNEL_HISTORY;
|
|
grant insert any table to PERSONNEL_HISTORY;
|
|
grant unlimited tablespace to PERSONNEL_HISTORY;
|
|
grant execute any procedure to PERSONNEL_HISTORY;
|
|
grant create any table to PERSONNEL_HISTORY;
|
|
grant select any dictionary to PERSONNEL_HISTORY;
|
|
grant alter any operator to PERSONNEL_HISTORY;
|
|
grant delete any table to PERSONNEL_HISTORY;
|
|
grant update any table to PERSONNEL_HISTORY;
|
|
grant alter any table to PERSONNEL_HISTORY;
|