RE: Sqlldr to remove 1st line of data file

  • From: "Kurth, Michael J." <mkurth@xxxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 12 Mar 2004 12:23:00 -0600

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@xxxxxxxxxxx 


-----Original Message-----
From: Nguyen, David M [mailto:david.m.nguyen@xxxxxx] 
Sent: Friday, March 12, 2004 12:06 PM
To: oracle-l@xxxxxxxxxxxxx
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.


Other related posts: