读书人

删除表空间的时候会删除表空间的数据文

发布时间: 2012-01-14 20:02:35 作者: rapoo

删除表空间的时候会删除表空间的数据文件(即.DBF文件)吗?
删除表空间的时候会删除表空间的数据文件(即.DBF文件)吗?我初步测试了下,好象没有被删除,大家说是吗.

[解决办法]
To delete the datafiles associated with a tablespace at the same time that the
tablespace is dropped, use the INCLUDING CONTENTS AND DATAFILES clause.
The following statement drops the users tablespace and its associated datafiles:

DROP TABLESPACE users INCLUDING CONTENTS AND DATAFILES;
[解决办法]
drop tablespace i3_orcl including contents;
删除表空间及数据文件
[解决办法]
楼上已经有答案了

读书人网 >oracle

热点推荐