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: how to Loading data file (SQL LOADER)

RE: how to Loading data file (SQL LOADER)

From: אדר יחיאל <adary_at_mehish.co.il>
Date: Tue, 05 Feb 2002 01:13:12 -0800
Message-ID: <F001.00405DB5.20020205005523@fatcity.com>

Hello Sameer

The manual in this case is :
Oracle8i Utilities
Release 2 (8.1.6)
See case study number 5: loading data into multiply tables. In your case do three different loads into the same table. I just hope that you can load into one table in this case.

Yechiel Adar, Mehish Computer Services
adary_at_mehish.co.il

> -----Original Message-----
> From: Ghadge,Sameer [SMTP:Sameer_Ghadge_at_Syntelinc.com]
> Sent: Tue, February 05, 2002 10:05 AM
> To: Multiple recipients of list ORACLE-L
> Subject: how to Loading data file (SQL LOADER)
>
> Hi all,
> Just think some how i have foll. file(I have a data file coming from
> VAX/VMS
> machine,on unix machine ,but i currently want soln for WIN2000)
>
> HDR 280120022044
> SELL031128012002ESP00000000050000000000001712311ESP28A
> SELL055728012002EUR00000000002000000000011534557EUR28A
> SELL015728012002USD00000000000500000000003289157USD28A
> SELL005328012002USD00000000001000000000006579053USD28A
> SELL046428012002EUR00000000006000000000034602464EUR28A
> TRL 000137
> Record structure
> Record Size: 54 Bytes
> -- Record Contents --
> Item Type Size Occ Offset
> IMX-HEADER-RECORD CHARACTER 54 0
> .IMX-HEADER-TYPE CHARACTER 4 0
> .PROCESS-DATE CHARACTER 12 4
> _IMX-DETAIL-RECORD CHARACTER 54 0
> .IMX-DETAIL-TYPE CHARACTER 4 0
> .SHOP-NUMBER CHARACTER 4 4
> .TRANSACTION-DATE CHARACTER 8 8
> .CURRENCY-CODE CHARACTER 3 16
> Item Type Size Occ Offset
> .IMX-CURRENCY-VALUE ZONED UNSIGNED 13 19
> .IMX-STERLING-EQUIVALENT ZONED UNSIGNED 13 32
> .REFERENCE-NUMBER CHARACTER 9 45
> _IMX-TRAILER-RECORD CHARACTER 54 0
> .IMX-TRAILER-TYPE CHARACTER 4 0
> .IMX-RECORD-COUNT ZONED UNSIGNED 6 4
>
>
>
> How do I load this using SQLoader (is it possible)
> ya u all must be thinking ,i m loading flat file in a table and not
> applying
> RDBMS (normalization) concepts.
> but that the way i have to do,(now don't ask why? we'll discuss off the
> list)
>
> so my table struct is as foll.
> Name Null? Type
> ------------------------------- -------- ----
> IMX_REC_TYPE NOT NULL VARCHAR2(4)
> SHOP_NO VARCHAR2(4)
> TRANSACTION_DATE DATE
> CURRENCY_CODE VARCHAR2(3)
> IMX_CURRENCY_VALUE NUMBER(13)
> IMX_STERLING_EQUIVALENT NUMBER(13)
> REFERENCE_NUMBER VARCHAR2(9)
> PROCESS_DATE DATE
> IMX_RECORD_COUNT NUMBER(6)
> IMX_REC_NO NUMBER(6)
>
> any help is appreciated
> using oracle 8.1.6 on win2000
> Thx
> Sameer
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ghadge,Sameer
> INET: Sameer_Ghadge_at_Syntelinc.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).
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This e-mail was scanned by the eSafe Mail Gateway
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
  INET: adary_at_mehish.co.il

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).
Received on Tue Feb 05 2002 - 03:13:12 CST

Original text of this message

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