Ask the Expert

Extracting file from specific table

I have a flat file that contains records like this:

01235983658838456838475834638YMNBV45793

I want to extract this file from a specific Oracle9i database table. Is there any way to do it only from Oracle? How? Can you offer an example?

    Requires Free Membership to View

You can use Oracle's SQL*Loader utility. Since you don't have any obvious delimiters, I can only assume that the data is fixed-width. In either case, SQL*Loader can load the data into any Oracle table. The Oracle docs not only give you detailed instructions, but also plenty of examples. You will want the Oracle Utilities Guide.

This was first published in October 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

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