From oracle-l-bounce@freelists.org Fri Mar 12 12:20:47 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i2CIKlA28996 for ; Fri, 12 Mar 2004 12:20:47 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i2CIKlo28990 for ; Fri, 12 Mar 2004 12:20:47 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 18D6039546A; Fri, 12 Mar 2004 13:19:59 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 12 Mar 2004 13:18:50 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from chexchange01.covhealth.org (unknown [199.250.65.131]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 27D153952CC for ; Fri, 12 Mar 2004 13:18:47 -0500 (EST) Received: by chexchange01.covhealth.org with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Mar 2004 12:23:34 -0600 Message-ID: <3D35A8A0081ED511A57E00508B68C88C04A7B3EC@sjh-exchange09.covhealth.org> From: "Kurth, Michael J." To: "'oracle-l@freelists.org'" Subject: RE: Sqlldr to remove 1st line of data file Date: Fri, 12 Mar 2004 12:23:00 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4085F.0CE0A220" X-archive-position: 717 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: mkurth@wfs-ops.org Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l ------_=_NextPart_001_01C4085F.0CE0A220 Content-Type: text/plain 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@wfs-ops.org -----Original Message----- From: Nguyen, David M [mailto:david.m.nguyen@xo.com] Sent: Friday, March 12, 2004 12:06 PM To: oracle-l@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. ------_=_NextPart_001_01C4085F.0CE0A220 Content-Type: text/html Message
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@wfs-ops.org


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



------_=_NextPart_001_01C4085F.0CE0A220-- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@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 -----------------------------------------------------------------