Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: External Tables question

Re: External Tables question

From: Mladen Gogala <>
Date: Wed, 05 Nov 2003 08:49:33 -0800
Message-ID: <>

You can't load line number into the table except in the case where line number is actually contained in the table as a column. External tables are great for loading things into the proper realtional tables but cannot be used for much otherwise. You cannot index an external table. The best thing to do is something like insert /*+ append */ into real_table select /*+ parallel(ext,4) */ select * from external_table ext;

On 11/05/2003 11:24:32 AM, "Jamadagni, Rajendra" wrote:
> I am trying to use external tables, but can't seem to find one thing that I'd like (I have already RTFM'd but may have missed some part).
> Is there a way I could load the line number of the text file as a column in the table? line number isn't hard coded but can record number be used (somehow)?
> Any ideas? TIA
> Raj
> --------------------------------------------------------------------------------
> Rajendra dot Jamadagni at nospamespn dot com
> All Views expressed in this email are strictly personal.
> QOTD: Any clod can have facts, having an opinion is an art !
> **************************************************************************************
> This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
> **************************************************************************************4

Mladen Gogala
Oracle DBA

This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

Please see the official ORACLE-L FAQ:
Author: Mladen Gogala

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Nov 05 2003 - 10:49:33 CST

Original text of this message