我开始用表空间建立表空间还有用户,但后来因一些原因要删除重新建立,应该是先删除用户,再删除表空间,但我先删除了表空间再删除的用户,这一切都OK的时候,我就开始重新建立,再重新建立的时候,却出现所创建的文件已存在,然后就删,一直没有删除掉,然后我就网上找了一些方法,可是还是没有删除掉,实在是无奈了所以才发帖请求知道的人帮助小弟一把,在此感激不尽,下面是图,还有不要说到电脑里删除,因为我是连接的linux服务器,然后建的,那样根本没办法,只有用命令。或者有好心人加我QQ也可以653348382
------解决方案--------------------
加上reuse选项,不过你没有指定文件的路径名,有点不妥。
------解决方案--------------------
模拟一下楼主的错误:
sys@ORCL> ed
Wrote file afiedt.buf
1 create tablespace David
2 datafile '/u01/app/oracle/oradata/orcl/think.dbf' size 100M
3 autoextend on next 10M maxsize 4096M
4 extent management local uniform size 256K
5* segment space management auto
sys@ORCL> /
Tablespace created.
sys@ORCL> ed
Wrote file afiedt.buf
1 create user david identified by david
2 default tablespace David
3* temporary tablespace temp
sys@ORCL> /
User created.
sys@ORCL> drop tablespace David;
Tablespace dropped.
sys@ORCL> drop user david;
User dropped.
sys@ORCL> ed
Wrote file afiedt.buf
1 create tablespace David
2 datafile '/u01/app/oracle/oradata/orcl/think.dbf' size 100M
3 autoextend on next 10M maxsize 4096M
4 extent management local uniform size 256K
5* segment space management auto
6
sys@ORCL> /
create tablespace David
*
ERROR at line 1:
ORA-01119: error in creating database file '/u01/app/oracle/oradata/orcl/think.dbf'
ORA-27038: created file already exists
Additional information: 1