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:CTL Files

Re:CTL Files

From: <dgoulet_at_vicr.com>
Date: Tue, 11 Jul 2000 16:52:17 -0400
Message-Id: <10555.111729@fatcity.com>


I believe the parameter is "data=<whatever>" on the command line. Not sure if you can specify multiple datafiles (or at least I haven't tried).

Dick Goulet

____________________Reply Separator____________________
Subject: CTL Files
Author: "Stephen Andert" <StephenAndert_at_firsthealth.com> Date: 7/11/00 11:10 AM

Can I use a variable in the INFILE string in a CTL file for sqlloader?

i.e. the line currently reads:

INFILE '/m17/oradata/work/qtr1/db_file1.ing'

and I would to have something like

X = '/m17/oradata/work/qtr1'

INFILE $X/db_file1.ing

The reason is that I have 32 ctl files and am loading data for many different qtr's and am changing the ctl files every time. I guess it might be easier to just move the data files into a temp directory for loading, then move them out when done and move the next batch in.

Thoughts?

Stephen Andert

-- 
Author: Stephen Andert
  INET: StephenAndert_at_firsthealth.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Jul 11 2000 - 15:52:17 CDT

Original text of this message

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