Home » RDBMS Server » Server Utilities » load lob data using Length-Value Pair Fields
load lob data using Length-Value Pair Fields [message #177788] Fri, 16 June 2006 09:56 Go to next message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member

When trying to load lob data using Length-Value Pair Fields
getting error

error converting character length field to a number

sample .ctl and .dat file given below.

LOAD DATA
INFILE 'sample.dat' "str '<endrec>\n'"
INTO TABLE person_table
FIELDS TERMINATED BY ','
(name CHAR(25),
"RESUME" VARCHARC(3,500))

Datafile (sample.dat)
Johny Quest,479 Johny Quest
500 Oracle Parkway
jquest@us.oracle.com
... <endrec>
Speed Racer,000<endrec>

Why that error?

Regards,
Alina
Re: load lob data using Length-Value Pair Fields [message #178592 is a reply to message #177788] Wed, 21 June 2006 12:37 Go to previous message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member


Resolved the error, actually .dat file was not correct, I have rectified my data file. But my purpose is not getting solved, when trying to load only one record is being inserted and returing messege Commit point reached - logical record count 1.
Do I need to express the string used as a record separator in hexadecimal notation If "\" escaping is not supported. How to resolve the issue?


Regards,

Alina



Previous Topic: IMPORT: IMP-00003: ORACLE error 2304 encountered, ORA-02304: invalid object identifier literal
Next Topic: copy table from one instance to another
Goto Forum:
  


Current Time: Mon Jul 01 00:30:02 CDT 2024