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

Re: sql loader

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 5 Apr 1999 21:03:17 +0200
Message-ID: <923339140.3134.0.muttley.d4ee154e@news.demon.nl>


Assuming you need to overwrite the data already in the table with the data provided to you in the .txt file, you need either to truncate your table manually using sqlplus or place the replace keyword immediately after the load data line in your control file. Of course replace is only one of the alternatives, append is also possible, insert being the default. Insert will only work when there are no rows in the table. Otherwise you will get the error you just got.
I can not know whether you need to append or replace data, so I can't provide you with the final answer.

Hth,

Sybrand Bakker, Oracle DBA
. wrote in message <7eav8h$hgg$1_at_platane.wanadoo.fr>...
>I'm trying to import data in a tablespace where data already exist. I got
my
>data to import in a .txt file with his description in a .ctl file.
>when I use sqlloader, I get this message: for insert option, table must be
>empty.
>what can I do ?
>
>thanks for helping me
>
>thomas
>
>
>
>
Received on Mon Apr 05 1999 - 14:03:17 CDT

Original text of this message

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