2025-03-27 15:05:14 +08:00

56 lines
2.5 KiB
SQL

------------------------------------------------
--创建用户_SaleStore_storage
------------------------------------------------
create user SaleStore_storage identified by qrwl default tablespace SaleStore_storage temporary tablespace realestate_tempgroup profile default;
--授予角色权限
grant connect to SaleStore_storage;
grant dba to SaleStore_storage;
--授予系统权限
grant under any view to SaleStore_storage;
grant select any table to SaleStore_storage;
grant grant any role to SaleStore_storage;
grant grant any object privilege to SaleStore_storage;
grant execute any program to SaleStore_storage;
grant grant any privilege to SaleStore_storage;
grant create any procedure to SaleStore_storage;
grant select any sequence to SaleStore_storage;
grant create any view to SaleStore_storage;
grant under any type to SaleStore_storage;
grant alter any procedure to SaleStore_storage;
grant insert any table to SaleStore_storage;
grant unlimited tablespace to SaleStore_storage;
grant execute any procedure to SaleStore_storage;
grant create any table to SaleStore_storage;
grant select any dictionary to SaleStore_storage;
grant alter any operator to SaleStore_storage;
grant delete any table to SaleStore_storage;
grant update any table to SaleStore_storage;
grant alter any table to SaleStore_storage;
------------------------------------------------
--创建用户_SaleStore_running
------------------------------------------------
create user SaleStore_running identified by qrwl default tablespace SaleStore_running temporary tablespace realestate_tempgroup profile default;
--授予角色权限
grant connect to SaleStore_running;
grant dba to SaleStore_running;
--授予系统权限
grant under any view to SaleStore_running;
grant select any table to SaleStore_running;
grant grant any role to SaleStore_running;
grant grant any object privilege to SaleStore_running;
grant execute any program to SaleStore_running;
grant grant any privilege to SaleStore_running;
grant create any procedure to SaleStore_running;
grant select any sequence to SaleStore_running;
grant create any view to SaleStore_running;
grant under any type to SaleStore_running;
grant alter any procedure to SaleStore_running;
grant insert any table to SaleStore_running;
grant unlimited tablespace to SaleStore_running;
grant execute any procedure to SaleStore_running;
grant create any table to SaleStore_running;
grant select any dictionary to SaleStore_running;
grant alter any operator to SaleStore_running;
grant delete any table to SaleStore_running;
grant update any table to SaleStore_running;
grant alter any table to SaleStore_running;