首页 > 数据库技术 > 详细

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

时间:2017-12-25 17:50:11      阅读:291      评论:0      收藏:0      [点我收藏+]

第一次接触到12C CDB和PDB数据库,且客户提供的是ORACLE一体机,只有访问权,费劲周折,今记录12C创建默认路径表空间语句和用户

--创建默认表空间:

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创建默认表空间和用户语句

原文:http://www.cnblogs.com/g253187360/p/8110442.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!