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: SQL*Loader and index unusable

Re: SQL*Loader and index unusable

From: S Chavali <nospam_at_iname.com>
Date: 1997/12/04
Message-ID: <3487450F.271C737@iname.com>#1/1

Neil Sauerwein wrote:

> When SQL*Loader encounters a duplicate key it leaves the table's index
> unusable.
> This in and of itself does not seem right to me, but even more confusing
> is that
> the Oracle documentation says to drop the index in this situation; yet
> it won't allow
> the index to be dropped if it is "used for enforcement of a unique or
> primary key".
> The only way out at this point seems to be to drop the table. Does
> anyone know of a
> way around this?

--
Disable the constraint corresponding to the unique/primary key, then load
the data using SQL*Loader, then enable the constarint.

Hope this helps !
(to reply via email, please change "nospam" to "chavali" in my email address
-  :-)  )
Received on Thu Dec 04 1997 - 00:00:00 CST

Original text of this message

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