Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sqlldr to remove 1st line of data file
Either use the SKIP command, or the WHEN command,
something like WHEN POSITION (1:1) != '#'
Mike Kurth
Senior Oracle DBA
Wheaton Franciscan Services, Inc.
400 West River Woods Parkway
Glendale, Wisconsin 53212
414/465-4046 Phone
mkurth_at_wfs-ops.org
-----Original Message-----
From: Nguyen, David M [mailto:david.m.nguyen_at_xo.com]
Sent: Friday, March 12, 2004 12:06 PM
To: oracle-l_at_freelists.org
Subject: Sqlldr to remove 1st line of data file
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
Privileged/Confidential information may be contained in this message. The information contained in this message is intended only for the use of the recipient(s) named above and their co-workers who are working on the same matter.
The recipient of this information is prohibited from disclosing the information to any other party unless this disclosure has been authorized in advance.
If you are not intended recipient of this message or any agent responsible for delivery of the message to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of this message is strictly prohibited. You should immediately destroy this message and kindly notify the sender by reply E-Mail.
Please advise immediately if you or your employer does not consent to Internet E-Mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of the firm shall be understood as neither given nor endorsed by it.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Fri Mar 12 2004 - 12:20:47 CST
-----------------------------------------------------------------
![]() |
![]() |