日期:2014-05-16 浏览次数:20418 次
//创建临时表空间 create temporary tablespace wftest_temp
tempfile 'E:/Oracle/oradata/orcl/wftest_temp01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
//创建数据表空间
create tablespace wftest_data
logging
datafile 'E:/Oracle/oradata/orcl/wftest_data01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
//创建用户并指定表空间
create user test identified by psw
default tablespace wftest_data
temporary tablespace wftest_temp;
//给用户授予权限
grant connect,resource to test;