Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL Loader/carriage return
I would think you could apply a sql operator to the field like:
field 1 position (1:8) integer external "TRANSLATE(RTRIM(:field1),'N/A', '0')".
You should be able to translate your rogue characters or trim them. The example I am using is out of the utilities manual.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Huascar Espinoza
Sent: Monday, March 22, 2004 3:59 PM
To: oracle-l_at_freelists.org
Subject: RE: SQL Loader/carriage return
We use MS, variable-length data.
-----Mensaje original-----
De: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
En nombre de DENNIS WILLIAMS
Enviado el: Lunes 22 de Marzo de 2004 16:37
Para: 'oracle-l_at_freelists.org'
Asunto: RE: SQL Loader/carriage return
Huascar
Are you on Unix or MS? Was the file you are loading created on Unix
or
MS? Are you loading variable-length data or fixed-format?
Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Huascar Espinoza
Sent: Monday, March 22, 2004 2:06 PM
To: oracle-l_at_freelists.org
Subject: SQL Loader/carriage return
I have a problem with carriage return and line feeder: /r/n, importing Text files (with schema.ini) through SQL*Loader. These characters come like data and generate errors due to the row terminator is /r/n too. Do you know some way of import these data without parsing the Text file?
Thank you!
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |