ORACLE创建表空间
create temporary tablespace 数据库用户名_temp
tempfile 'D:\app\12959\oradata\orcl\数据库用户名_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
DROP TABLESPACE ekp INCLUDING CONTENTS AND DATAFILES;
create tablespace 数据库用户名
logging
datafile 'D:\app\12959\oradata\orcl\数据库用户名.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create user 数据库用户名 identified by 密码
default tablespace 数据库用户名
temporary tablespace 数据库用户名_temp;
grant connect,resource,dba to 数据库用户名;