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:RE: Skipping columns with SQLLDR

Re:RE: Skipping columns with SQLLDR

From: Wayne S Bellefeuille <wbellefe_at_allina.com>
Date: Mon, 02 Oct 2000 10:39:47 -0500
Message-Id: <10637.118325@fatcity.com>


Sorry, we are still using 8.0, not 8.1. Anyway to do something similar in 8.0?

Wayne

____________________Reply Separator____________________
Subject: RE: Skipping columns with SQLLDR Author: <ORACLE-L_at_fatcity.com>
Date: 10/2/00 7:50 AM

use FILLER, as in

col_a  CHAR,
col_b  FILLER,
col_c  CHAR

hth,

Yosi

> -----Original Message-----
> From: Wayne S Bellefeuille [mailto:wbellefe_at_allina.com]
> Sent: Monday, October 02, 2000 10:35 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Skipping columns with SQLLDR
>
>
> Okay, so what am I missing here?
>
> I want to be able to use SQLLDR to load a tab-delimited file
> into a table, but
> the tab-delimited file has extra columns in it that I don't
> want to use. How
> can I build a control file to skip these extra columns in the file?
>
> What would the control file be for the following example:
> Table:
> CREATE TABLE wayne
> (col_a VARCHAR2(20),
> col_b VARCHAR2(20));
>
> Flat file (tab-delimited):
> junk<TAB>col_a data<TAB>junk<TAB>junk<TAB>col_b data<TAB><TAB>
>
> Note that I cannot simply use positional columns here, since
> the length of each
> flat-file column is variable.
>
> Is my only choice to clean up the flat file to get rid of the
> "junk" columns?
>
> Wayne
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Wayne S Bellefeuill
> INET: wbellefe_at_allina.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

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

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
Received on Mon Oct 02 2000 - 10:39:47 CDT

Original text of this message

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