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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Help: Re-Oraganizing a table

Re: Help: Re-Oraganizing a table

From: Mike F <u518615722_at_spawnkill.ip-mobilphone.net>
Date: Tue, 02 Apr 2002 20:44:26 GMT
Message-ID: <l.1017780267.1782043457@[64.94.198.252]>


Hi, Daniel Morgan

Here is my result

SQL> truncate table direction;
truncate table direction

               *
ERROR at line 1:
ORA-02266: unique/primary keys in table referenced by enabled foreign keys

That is why I have to disable those child table foreign keys first.

And I need to drop and re-create some indexes because for some table,

INSERT INTO mytable
SELECT *
FROM temp
ORDER BY primary_key_fields_or_whatever;

will be extremely slow, so slow that you can not bear it.

Any better idea?

Thanks  

-- 
Sent  by dbadba62 from hotmail part  of  com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-replayer.com/cgi/content/new
Received on Tue Apr 02 2002 - 14:44:26 CST

Original text of this message

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