删除oracle表空间

drop tablespace tbname;  --将表空间删除(表空间中无对象存在)

drop tablespace tbname  including contents(将表空间及存在其中的对象一起删除)


以上两个语句都不能物理的将表空间数据文件删除,如果想将文件一起删除,则需要下面语法:
drop tablespace tbname  including contents and datafiles;

猜你喜欢

转载自tivan.iteye.com/blog/1316929