从表空间删除数据文件前提条件 如果欲从表空间中删除数据文件,那么该数据文件必须为空,否则将报出"ORA-03262: the file is non-empty"的错误. 从表空间删除数据文件步骤 1.确定数据文件为空 根据数据文件名称及表空间确定文件为空 SQL> SELECT distinct b.owner, b.segment_name FROM dba_data_files a, dba_extents b WHERE a.file_id = b.file…
第1步:创建临时表空间 create temporary tablespace pgenius_temptempfile '/data/oracle/oradata/orcl/pgenius_temp.dbf'size 50m autoextend on next 50m maxsize 20480mextent management local; 删除临时表空间: drop tablespace pgenius_temp including contents and datafiles…