dbTalk Databases Forums  

SQLLDR problem

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss SQLLDR problem in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
blindsey
 
Posts: n/a

Default SQLLDR problem - 07-16-2008 , 03:51 PM






I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.

But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?

Reply With Quote
  #2  
Old   
Maxim Demenko
 
Posts: n/a

Default Re: SQLLDR problem - 07-16-2008 , 04:01 PM






blindsey schrieb:
Quote:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.

But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?
Fixed record format?
http://download.oracle.com/docs/cd/B....htm#sthref472

Best regards

Maxim


Reply With Quote
  #3  
Old   
Maxim Demenko
 
Posts: n/a

Default Re: SQLLDR problem - 07-16-2008 , 04:01 PM



blindsey schrieb:
Quote:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.

But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?
Fixed record format?
http://download.oracle.com/docs/cd/B....htm#sthref472

Best regards

Maxim


Reply With Quote
  #4  
Old   
Maxim Demenko
 
Posts: n/a

Default Re: SQLLDR problem - 07-16-2008 , 04:01 PM



blindsey schrieb:
Quote:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.

But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?
Fixed record format?
http://download.oracle.com/docs/cd/B....htm#sthref472

Best regards

Maxim


Reply With Quote
  #5  
Old   
Maxim Demenko
 
Posts: n/a

Default Re: SQLLDR problem - 07-16-2008 , 04:01 PM



blindsey schrieb:
Quote:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.

But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?
Fixed record format?
http://download.oracle.com/docs/cd/B....htm#sthref472

Best regards

Maxim


Reply With Quote
  #6  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: SQLLDR problem - 07-18-2008 , 01:36 AM



Maxim Demenko <mdemenko (AT) gmail (DOT) com> wrote:
Quote:
blindsey schrieb:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.
"As usual" is funny.

Quote:
But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?

Fixed record format?
Or surround the fields with quotes.

Yours,
Laurenz Albe


Reply With Quote
  #7  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: SQLLDR problem - 07-18-2008 , 01:36 AM



Maxim Demenko <mdemenko (AT) gmail (DOT) com> wrote:
Quote:
blindsey schrieb:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.
"As usual" is funny.

Quote:
But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?

Fixed record format?
Or surround the fields with quotes.

Yours,
Laurenz Albe


Reply With Quote
  #8  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: SQLLDR problem - 07-18-2008 , 01:36 AM



Maxim Demenko <mdemenko (AT) gmail (DOT) com> wrote:
Quote:
blindsey schrieb:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.
"As usual" is funny.

Quote:
But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?

Fixed record format?
Or surround the fields with quotes.

Yours,
Laurenz Albe


Reply With Quote
  #9  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: SQLLDR problem - 07-18-2008 , 01:36 AM



Maxim Demenko <mdemenko (AT) gmail (DOT) com> wrote:
Quote:
blindsey schrieb:
I'm trying to import a fixed-length ASCII file using SQLLDR.

The end-of-line is 0D 0A, as usual.
"As usual" is funny.

Quote:
But some notes fields in the data use 0D 0D 0A within them. SQLLDR
interprets this as end-of-line.

Is there a way I can tell SQLLDR to ignore that sequence or translate
it into something else (like a space)?

Fixed record format?
Or surround the fields with quotes.

Yours,
Laurenz Albe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.