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: Sqlldr to remove 1st line of data file

RE: Sqlldr to remove 1st line of data file

From: Nguyen, David M <david.m.nguyen_at_xo.com>
Date: Fri, 12 Mar 2004 13:51:14 -0500
Message-ID: <CF2C2AF8121121469722950F193435490450A1A2@ILCHICVEXC002.mail.inthosts.net>


Thank you, it works.

David

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Michael Twaddell Sent: Friday, March 12, 2004 12:18 PM
To: oracle-l_at_freelists.org
Subject: Re: Sqlldr to remove 1st line of data file

David,

You should be able to use the SKIP sqlldr parameter

    sqlldr userid=joeuser/password skip=1 control=control_file_name

This will skip over the first logical record in your data file.

Michael T.

Nguyen, David M wrote:

> I want to load data file into oracle database and I need to remove the

> first line inside of data file before loading. How do I tell sqlldr
to
> remove the first line of data file?
>
> **My data file in csv format:
>
> *# Northeast,1,GABE0,66.89.254.25**** <=== Need to remove this line
> before loading data.*****
>
> 2/27/04 10:44:52 PM CST,13,13,0,43,0,446,0
>
> 2/27/04 10:59:52 PM CST,3,3,0,15,0,446,0
>
> 2/27/04 11:14:52 PM CST,7,7,0,23,0,446,0
>
> 2/27/04 11:29:52 PM CST,7,6,1,18,0,446,0
>
>
> Thanks,
> David
>



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 Fri Mar 12 2004 - 12:48:07 CST

Original text of this message

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