Hi List,

I have two tables by name Allotment and Allot_flights in which
Allotment is the parent table and Allot_Flights is the child table. Flat
file data has to be loaded into these tables. The flat file data comes in
the form of .CSV files. These tables are related in such a way that for
every record of Allotment table there can be one or more records in
Allot_Flights table. The flat file data format is that for one record of
allotment table one or more records of allot_flights table appear in a
single row with each value separated by comma and the no. of records in
allot_flights for a record in allotment table might vary. Hence it is not a
fixed-length format data. In such a case what parsing logic should I use to
load the data into a temp table (in denormalized form) and then into the
actual tables? Is it possible to do the same through UNIX shell scripts?
Or is there any other way in SQL* Loader to do this? If so, please let me
know the same. Any help in this regard is very much appreciated.

Thanks and Regards,


WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.
Please see the official ORACLE-L FAQ: http://www.orafaq.net
Author: Krishnaswamy, Ranganath
INET: Ranganath.Krishnaswamy_at_blr.hpsglobal.com

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services

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).

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
postedMay 8, '03 at 10:42a
activeMay 8, '03 at 10:42a

1 user in discussion

Krishnaswamy, Ranganath: 1 post



site design / logo © 2022 Grokbase