Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: CTL Files
> ----------
> From: Stephen Andert[SMTP:StephenAndert_at_firsthealth.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Tuesday, July 11, 2000 21:10
> To: Multiple recipients of list ORACLE-L
> Subject: CTL Files
>
> Can I use a variable in the INFILE string in a CTL file for sqlloader?
No, but you can do it at the shell level, in a script, that would generate
different CTL files, based upon $X.
> 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 Wed Jul 12 2000 - 17:37:58 CDT
![]() |
![]() |