sql - Deleted some Oracle DBF files by mistake - how can I tell Oracle XE to forget about them? -


So I accidentally removed some DBF files (specific to my tablepace only), fortunately I was about to start loading data. Nothing has been lost in it, except that the tablespace can not be created again.

If I run:

Select a name from v $ datafile;

The DBF files that I have removed in the results.

I tried to run an order found on the Internet so that it was relevant to remove the dbuff files to the obelisk:

  changing the database data file & lt; A_DBF_file_that_no_longer_exists & gt; ' Offline Drop;  

And the result is:

  Changing the database data file succeeded  

However the deleted data file is still back When I try to create a new tablepace when I run the selection statement, I get an error:

  SQL error: ORA-01543: The location of the tables 'my_tablespace_name' already Exists 01543. 00000 - "The location of the tables '% s' already exists * Cause: Try to create a tablepace * A new name for the new tablepace. *   

Leaving the affected tables will not automatically drop the tabletration from leaving the data file.

  Drop Tables SPACE content and data including mytablespace Cascade Consultants;  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -