create tablespace EWMSDB datafile 'E:/EWMSDB/ewms.dbf' size 100M autoextend on next 10M maxsize unlimited extent management local;
create user 'ewmsdb' identified by 'ewmsdb' defalut tablespace EWMSDB;
create user ewmsdb identified by ewmsdb defalut tablespace myspace;
-- Create the user
create user EWMSDB
identified by "EWMSDB"
default tablespace EWMSDB
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to EWMSDB;
grant exp_full_database to EWMSDB;
grant imp_full_database to EWMSDB;
grant resource to EWMS;
-- Grant/Revoke system privileges
grant unlimited tablespace to EWMSDB;
create user 'ewmsdb' identified by 'ewmsdb' defalut tablespace EWMSDB;
create user ewmsdb identified by ewmsdb defalut tablespace myspace;
-- Create the user
create user EWMSDB
identified by "EWMSDB"
default tablespace EWMSDB
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to EWMSDB;
grant exp_full_database to EWMSDB;
grant imp_full_database to EWMSDB;
grant resource to EWMS;
-- Grant/Revoke system privileges
grant unlimited tablespace to EWMSDB;
创建Oracle数据库用户及权限
本文介绍如何在Oracle数据库中创建表空间、用户,并授予相应的角色和系统权限,包括CONNECT、EXP_FULL_DATABASE等。

被折叠的 条评论
为什么被折叠?



