码迷,mamicode.com
首页 > 数据库 > 详细

Oracle建立用户表空间

时间:2015-07-03 15:33:22      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

create temporary tablespace data_temp
tempfile ‘D:\tablespace\data_temp.dbf‘
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;

create tablespace data
logging
datafile ‘D:\tablespace\data.dbf‘
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;

create user username identified by password
default tablespace data
temporary tablespace data_temp;

grant connect,resource,dba to username;

Oracle建立用户表空间

标签:

原文地址:http://www.cnblogs.com/matf/p/4618602.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!