当前位置:Gxlcms > 数据库问题 > ORACLE12C PDB创建默认表空间和用户语句

ORACLE12C PDB创建默认表空间和用户语句

时间:2021-07-01 10:21:17 帮助过:43人阅读

--创建默认表空间:

create tablespace tablesapce_name datafile size 500M   autoextend on next 100M;

--创建用户空间:

create user username identified by password
default tablespace tablesapce_name ;

--用户授权:

grant connect,resource to username ;
grant create any sequence to username ;
grant create any table to username ;
grant delete any table to username ;
grant insert any table to username ;
grant select any table to username ;
grant unlimited tablespace to username ;
grant execute any procedure to username ;
grant update any table to username ;
grant create any view to username ;

如上~

 

ORACLE12C PDB创建默认表空间和用户语句

标签:sequence   acl   pass   upd   limit   datafile   语句   insert   source   

人气教程排行