sqlplus / as sysdba
CREATE TABLESPACE XFSBUY_DATA LOGGING DATAFILE 'F:\app\ora_db\jhzhshop.dbf'
SIZE 100M AUTOEXTEND ON NEXT 32M MAXSIZE 500M EXTENT MANAGEMENT LOCAL;
create temporary tablespace XFSBUY_DATA_temp tempfile 'F:\app\ora_db\jhzhshop_temp.dbf'
size 100m autoextend on next 32m maxsize 500m extent management local;
CREATE USER joker IDENTIFIED BY joker1988 DEFAULT TABLESPACE XFSBUY_DATA TEMPORARY TABLESPACE XFSBUY_DATA_temp;
删除表空间:
可以先将其offline
alter tablespace xx offline;
将磁盘上的数据文件一同删除
drop tablespace xxx including contents and datafiles;