Ask the Expert

Inserting flat file text data into 9i

I want to insert a flat file text data into an Oracle9i database table, which has OS RedHat Linux Advance Server using UTL_FILE.FOPEN()function. I have done it in Window NT server but I unable to use it on Linux server. Please tell me how i can use UTL_FILE.FOPEN(). I don't want to use SQL Loader here.

    Requires Free Membership to View

First, you must make sure that the UTL_FILE_DIR parameter is set properly. The file you want to open must be in the directory quantified in the UTL_FILE_DIR parameter. Once that is set, you should be able to open the file and manipulate it as you desire.

This was first published in March 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: