oracle创建表空间以及用户
//创建临时表空间 create temporary tablespace wftest_temp
tempfile 'E:/Oracle/oradata/orcl/wftest_temp01.dbf'
size 32m
autoextoracle账号end on
next 32m maxsize 2048m
extent management local;
//创建数据表空间
create tablespace wftest_data
logging www.2cto.com
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;