创建表空间
CREATE TABLESPACE 空间名称 LOGGING
DATAFILE 'D:\oracle10g\tablespace\oapt.dat ' SIZE 500M AUTOEXTEND ON NEXT 50M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;
注意:表空间大小为600M,包含自动扩展.
删除表空间
drop tablespace 空间名称 including contents
注意:执行上面的删除命令之后,还需要到'D:\oracle10g\tablespace目录下把:oapt.dat 手动删除掉!
CREATE TABLESPACE 空间名称 LOGGING
DATAFILE 'D:\oracle10g\tablespace\oapt.dat ' SIZE 500M AUTOEXTEND ON NEXT 50M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;
注意:表空间大小为600M,包含自动扩展.
删除表空间
drop tablespace 空间名称 including contents
注意:执行上面的删除命令之后,还需要到'D:\oracle10g\tablespace目录下把:oapt.dat 手动删除掉!