Database Tutorial

Course Tutorial Site

Site Admin

Oracle External Tables

with one comment

Oracle external tables are a neat device because they let you define a table inside the database that is dependent on an external physical file. You can import data through that file. This post explains the processes and potential problems with Oracle External Tables.

You have two options when you create Oracle External Tables. They may be defined as SQL*Loader or Oracle Data Pump files. SQL*Loader files are read-only and independent of any proprietary Oracle code and are best represented by Comma Separated Value (CSV), Tabbed Separated Value (TSV), or position specific files. Oracle Data Pump files are read-write and require an Oracle executable to read and write them.

You may also want to review this article. It shows you how to check if the external file is there before you query the data.

Written by michaelmclaughlin

February 21st, 2010 at 1:22 am

Posted in

One Response to 'Oracle External Tables'

Subscribe to comments with RSS or TrackBack to 'Oracle External Tables'.

  1. In task #1, step #1
    We are told to create importer and grant rights.
    For me it fails when doing a copy and paste.
    For me I had to do the following:
    (I added the Identified by, and removed the s from resource)

    CREATE USER importer IDENTIFIED BY importer;
    GRANT connect, resource, CREATE any VIEW TO importer;

    Clay Mullins

    25 Feb 10 at 1:18 am

Leave a Reply