Ask the Expert

Importing an Excel file into Oracle 10g

I need to import an Excel file into Oracle 10g. How do I do it?

    Requires Free Membership to View

With Excel, you cannot load directly into an Oracle database. One option is to save your Excel values in a comma-delimited text file, also called Comma Separated Values (CSV). Simply choose File and Save As from your Excel menus. In the Save As Type pulldown menu, choose the "CSV (Comma Delimited)" option.

Now that you have your data in a text file, you can use Oracle's SQL*Loader utility to load the data into an Oracle database. There are many options on how to use SQL*Loader, most of which are unique to specific situations. I highly recommend reading the Oracle Utilities Guide, particularly Chapters 3 through 10, which talk about how to use SQL*Loader. Chapter 10 is really nice because it gives you step-by-step examples on a number of different scenarios.

This was first published in July 2005

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: