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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Transfer "Accesscode" column from flat file into Oralce table

Re: Transfer "Accesscode" column from flat file into Oralce table

From: Harald Maier <maierh_at_myself.com>
Date: Thu, 28 Aug 2003 07:47:38 +0200
Message-ID: <m3ekz6ib9h.fsf@ate.maierh>


Harald Maier <maierh_at_myself.com> writes:

> rooty_hill2002_at_yahoo.com.au (Gary) writes:
>
>> Hi! guys,
>>
>> I have a flat file exported from an Informix database table. There is
>> a column called "accesscode" stores encrypted internet access codes
>> (in Informix, it is in varchar type), e.g. something looks like
>> "ëàòä".
>
> Try to set the environment variable NLS_LANG for the sql loader
> process. E.g.
>
> NLS_LANG=english_australia.we8iso8859p1
>

You can also specify the character set in the control file:

,----[ sqlldr ctl ]

| load data
| characterset we8dec
| infile *
| into table nls truncate
| fields terminated by whitespace
| (id)
| begindata
| Ödland
| Überkingen
| Güglingen

`----

Harald Received on Thu Aug 28 2003 - 00:47:38 CDT

Original text of this message

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