re: ser's #1, here's a typical delimited control file.
load data
infile /path/to/delimited_file.da
fields terminated by "," optionally enclosed by '"'
into table YOURTABLE ( COL1, COL2, COL3, COLN )
Main Topics
Browse All TopicsHow can I place data from a 130,000 record ascii delimited file into a few tables within an Oracle database? The table structure or scheme already exists within a database and a method of importing or placing the data into the database is needed. This problem is well beyond anything I have ever attempted to do, so therefore, as much detail as possible would really help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
SQL*Loader is the fastest way to load large amounts of ASCII data into one table. It is possible in some cases to have SQL*Loader load data into multiple tables, but your control file for SQL*Loader then becomes rather complex. I use SQL*Loader for large, but simple data loads where all of the data in the file is going to one table.
For more complex data load scenarios, you either have to:
1. use SQL*LOader to put all of the ASCII data into a "staging" table, then use SQL commands and/or PL\SQL procedures that you write to move the data to your permanenent tables.
or
2. use a PL\SQL procedure you write that uses utl_file to read the ASCII file one line at a time and process each line appropriately.
The utl_file approach requires the most programming effort but is the most flexible.
Business Accounts
Answer for Membership
by: ser6398Posted on 2002-12-17 at 13:01:28ID: 7597632
2 main ways I know of:
1. Use SQL*Loader. SQL*Loader is a basic tool to load data from flat files into an Oracle database. You specify the file layout and run SQL*Loader to load your data into table(s). If your data is too complex, you might want to load the data into a temporary table first and then write PL/SQL code to load the data from the temporary table into your main tables.
2. Use basic File package in Oracle Forms. This method works, but requires a lot more custom code.