1、定位表空间数据文件保存路径
select file_name from dba_data_files;
2、建立表空间
create bigfile tablespace xxx datafile 'datafiledir/xxx01.dbf' size 200m autoextend on;
3、建立用户
create user xxx identified by password default tablespace xxx quota unlimited on xxx;
4、给用户授权
grant create trigger,create table,create sequence,create session,create public synonym,create view,drop public synonym,create procedure to xxx;
---若用户的对象需要通过imp导入,则需要授予下面的权限
grant imp_full_database to xxx;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29911917/viewspace-2149554/
,如需转载,请注明出处,否则将追究法律责任。