Problem solve Get help with specific problems with your technologies, process and projects.

Importing five dump files without data duplication

I have five dump files, and I have to import those five dump files into one single (Oracle8i) database without...

data duplication. The database structures of the five dumps are the same. Please give me the solution.

If these dump files are flat files, like comma-delimited values, then you can use SQL*Loader to accomplish your task. Create a table to load the data into. Create a Primary Key on that table to ensure that duplicate values are not loaded. Then, use SQL*Load to load each of the file's data into that table. When SQL*Loader hits a duplicate record, it will be "discarded". All discarded records will be found in the the discard file you specify in your SQL*Loader control file.

If these dump files are Oracle's export utility dump files, then I'd suggest loading each one into a separate table. You can then use simple SQL commands to insert into one master table those records which are not duplicates.

For More Information

This was last published in July 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.