Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Lost datafile for dataless partition

Re: Lost datafile for dataless partition

From: CT <CT_at_nomail.com>
Date: Wed, 8 Jan 2003 20:44:59 -0000
Message-ID: <avi2f8$60b$1@news8.svr.pol.co.uk>


The solution to the problem given by the ORA-14404 is to convert the affected partition into a table.

Create a temporary table with the exact same properties as the original

    CREATE TABLE <temp table> AS SELECT * FROM <orig table> where 1=2;

Use 'exchange partitions' on the affected partition to convert it into a table ALTER TABLE <table name> EXCHANGE PARTITION <part name> WITH TABLE <temp table> WITHOUT VALIDATION;

The tablespace should now be droppable. (assuming no other partitoins exist within it)

.....if you really want it back as empty, recreate and re-exchange...

Cheers
CT Received on Wed Jan 08 2003 - 14:44:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US