Ask the Expert

Ordering data loads

I have two versions of data (in a flat file) to be loaded, ver1 at the beginning of the file and ver2 of the data concatenated at the end. I am using parallel option. Is there a way that I can control SQLloader to load ver1 of the data first and ver2 last?

    Requires Free Membership to View

Since the data is sequential in the flat file, you can have SQL*loader load them in order. You'll just need a condition that tells you which table the row of data gets loaded into. In the Oracle Utilities Guide, there is a section titled "Loading records based on a condition."

From here, you should be able to easily load the data into multiple tables.

This was first published in September 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.