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

Home -> Community -> Mailing Lists -> Oracle-L -> Problem with external tables - URGENT

Problem with external tables - URGENT

From: <JayK_at_ibsplc.com>
Date: Wed, 23 Apr 2003 04:36:48 -0800
Message-ID: <F001.00587A8B.20030423043648@fatcity.com>


Dear All,

Can anyone please tell me if LOAD WHEN clause is supported when positional parameters are used.

EG :

CREATE TABLE test (REC_TYPE NUMBER(1),

                         TITLE VARCHAR2(34),
                         FILLER1 VARCHAR2(5),
                         NO_SEASONS NUMBER(1),
                         FILLER2 VARCHAR2(150),
                         DATASET_SLNO VARCHAR2(3),
                         REC_SLNO VARCHAR2(6))
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER

 DEFAULT DIRECTORY testdir
 ACCESS PARAMETERS
 (              FIELDS RTRIM
                 (REC_TYPE POSITION(1:1),
                  TITLE POSITION(2:35),
                  FILLER1 POSITION(36:40),
                  NO_SEASONS POSITION(41:41),
                  FILLER2 POSITION(42:191),
                  DATASET_SLNO POSITION(192:194),
                  REC_SLNO POSITION(195:200))) 
 LOCATION ('oag.dat'));

Does Oracle LOAD WHEN with the Field Definition Clause. Otherwise how will I restrict the data to be linked to
an external table?

Thanks for all help in advance.

Best Regards
Jay

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: JayK_at_ibsplc.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 Wed Apr 23 2003 - 07:36:48 CDT

Original text of this message

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