Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Need SQL*Loader Coding Help
I need some help coding this scenario. I have multiple records coming in a delimited flat file. Some of the records are:
RegNumber
Cnum1
Cnum2
.
.
.
Cnum10
There can be data in 1 to 10 of these fields.
I need to load this into this table.
Trademark_Class_Data
Registration_Number (FK)
Class_Code_ID (FK)
An example of the code.
RegNumber - 65304
Cnum1 - 45 Cnum2 - 54 Cnum3 - 100
So, my question is how do I code this so that I create 3 records in this table as?
Registration_Number Class_Code_ID 65304 45 65304 54 65304 100
I need to take data that is contained in 1 record and load it into 3 records.
Any help you can give me will be greatly appreciated.
Thanks,
Ken Janusz, CPIM
Database Conversion Lead
Sufficient Systems, Inc.
Minneapolis, MN
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ken Janusz INET: ken.janusz_at_sufsys.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).Received on Mon Jan 14 2002 - 08:17:25 CST
![]() |
![]() |