Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL Loader

Re: SQL Loader

From: Kirtikumar Deshpande <kirtikumar_deshpande_at_yahoo.com>
Date: Tue, 03 Jun 2003 06:45:01 -0800
Message-ID: <F001.005A8D68.20030603064501@fatcity.com>


That's what I thought. LIFO.

Why does the order matter?
Can you sort the result to suit your needs?

> <kirtikumar_deshpande@ To: Multiple recipients of list ORACLE-L
> <ORACLE-L_at_fatcity.com>
> yahoo.com> cc:
>
> Sent by: Subject: Re: SQL Loader
>
> root_at_fatcity.com
>

                                                                                

>
>
> I think the query is displaying data from the table in the order in
> which rows were inserted by SQL*Loader.
> Whereas, the query to read the same data from the external table is
> reading the file from the first physical record. So it appears
> reversed..
>
> - Kirti
>
> Stephen Andert <stephenandert_at_firsthealth.com> wrote:
> Pradeep,
>
> I don't know what you mean when you say SQL*Loader is "starting from
> the 50,000th record and going up". If there are 50k records, are you
> saying it is not loading them? Or is it reading them from 50,000 then
> 49,999 (i.e. in revers order)? How are you determining what order
> they
> are being read?
>
> Regarding external tables, the way they work is by reading the file
> from the first block to either the end or till it finds what it
> needs.
> Thus, external tables will read in the order the records are in the
> file.
>
> I stand ready for my ramblings to be corrected by anyone who can
> explain better :)
>
> Stephen
>
> >>> pradeep_at_ibsplc.com 06/01/03 10:35PM >>>
>
> Dear All,
>
> I don't know whether SQL Loader behaves like this always or for me
> only. I am loading a .dat file which has 50000 records.
> I noticed that S! QL loader is starting from the 50,000th record and
> going upwards, while external tables is starting from the 1st record
> and going downwards.
>
> Could somebody help me confirming this?
>
> Regards,
> Pradeep

>

Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Kirtikumar Deshpande
  INET: kirtikumar_deshpande_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 Tue Jun 03 2003 - 09:45:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US