ORACLE 创建表空间、用户、授权

时间:2014-05-03 17:37:06   收藏:0   阅读:299

1、创建表空间

create tablespace TEST
logging
datafile ‘e:\app\administrator\oradata\orcl\TEST.dbf‘
size 100M
autoextend on
next 100M maxsize 4096M
extent management local;

2、创建用户并指定表空间

create use testuser identified by password
default tablespace TEST
temporary tablespace temp;

3、授权

grant connect  to testuser;
grant dba to testuser;
grant role to testuser;




ORACLE 创建表空间、用户、授权,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!