Home » RDBMS Server » Server Administration » add a deleted datafile again.
add a deleted datafile again. [message #64557] Tue, 08 February 2005 01:37 Go to next message
sri
Messages: 154
Registered: February 2000
Senior Member
The scenario is
I have deleted a datafile belonging to a Tablespace say A using the command

ALTER DATABASE DATAFILE 'a1.dbf' offline drop;

The datafile exists in the same location .Its not physically deleted from the disk.

Now i want to add the datafile again back to the Tablespace.

What do i need to do
Re: add a deleted datafile again. [message #64559 is a reply to message #64557] Tue, 08 February 2005 03:39 Go to previous message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
Hi,

You can issue an "ALTER TABLESPACE ... ADD ..." command with the REUSE clause. Note that the file will be reinitialized and everything it is will be gone!

Best regards.

Frank
Previous Topic: Upgrade issue?
Next Topic: Table and index size
Goto Forum:
  


Current Time: Fri Sep 27 04:19:23 CDT 2024