Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL Loader/carriage return

RE: SQL Loader/carriage return

From: <oracle-l-bounce_at_freelists.org>
Date: Mon, 22 Mar 2004 16:26:03 -0500
Message-ID: <AFF54B073FF15849B53E32E67EE860763A932F@ENHBGPRI11.PA.LCL>


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!



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Mon Mar 22 2004 - 16:26:48 CST

Original text of this message

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