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 -> long-field import with sql-loader

long-field import with sql-loader

From: Rüdiger J. Schulz <r.schulz_at_berlin.de>
Date: Wed, 12 May 1999 12:49:45 +0100
Message-ID: <37396AD8.B7073C0E@berlin.de>


hi,

i am trying to import long-fields of a file into a table with long fields:

here is the example:

import-file
1|...here more than 2000 char...
2|...here more than 2000 char too ...

... with the controlfile:

LOAD DATA
INFILE 'testimp.txt'
INTO TABLE test
FIELDS TERMINATED BY '|'
(

testpk,
testlong raw (10000)
)

... the table:

create table test
(

testpk number,
testlong long
)
Tablespace ts_data;

but i get in the sql-loader-log-file:

...
Record 1: Rejected - Error on table TEST. ORA-01461: can bind a LONG value only for insert into a LONG column ...

please help and thanx
R.J. Schulz Received on Wed May 12 1999 - 06:49:45 CDT

Original text of this message

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