I am trying to load a csv file with currency symbols, using SQL*Loader. The symbol '£' gets replaced by '#' and symbol '€' gets replaced by NULL.
Not sure if I should tweak some settings in my control file?
Here are the values from NLS_DATABASE_PARAMETERS:
NLS_NCHAR_CHARACTERSET = AL16UTF16 NLS_CHARACTERSET = AL32UTF8
Any pointers would be of great help.
Extract of csv file -
id,currency
1234,£
5678,€
Datatype of the column for currency is NVARCHAR2(10).
Here's the ctl file -
OPTIONS(skip=1)
LOAD DATA
TRUNCATE
INTO TABLE schema_name.table_name
FIELDS TERMINATED BY ","
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
filler1 filler,
filler2 filler,
Id INTEGER EXTERNAL,
Currency CHAR "TRIM(:Currency)"
)