How to load different language data into oracle database?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Akhileshchand04
    New Member
    • Dec 2015
    • 1

    How to load different language data into oracle database?

    I'm trying to load data into table using sql loader where I have data which contains some Japanese records and I'm able to load successfully into table but not able to insert exactly.I tried to use utf8 also.


    Code:
        control file:- test.ctl
            load data
            into table TC_JANEL_DATAN_STG
            fields terminated by "~" optionally enclosed by '"'
            TRAILING NULLCOLS
            (PHARMACY_CHAIN_ID,PHARMACY_CHAIN_NM,PHARMACY_CHAIN_ADDR,HQ_FLG,CONTACT_PATT,DATA_SUPPLY_PATT,DOES_ACCESS_CUST_PORTAL,DSUPP_ID,DCA_ID,NATL_OTLT_CD,PHARMACY_BRANCH_NM,PHARMACY_BRANCH_ADDR,PHARMACY_TYP,EMAIL_ADDR)
    
        Data file:-data_file.csv
    86~さくら薬局株式会社~北海道札幌市中央区北3条1-5~0~1~1~1~SAKR~SAKRPHS001~0140341231~さくら薬局 札幌もいわ店~北海道札幌市中央区南24条西15丁目1番1号~1~test@gmail.com
    86~さくら薬局株式会社~北海道札幌市中央区北3条1-5~0~1~1~1~SAKR~SAKRPHS002~0140341249~さくら薬局 札幌南1条店~北海道札幌市中央区南1条西15丁目1番10号 パレ宮崎~1~test@gmail.com
    
        Call sqlldr
    
            sqlldr xxxx/xxxx@//localhost:1521/xxxx control=test.ctl log=test.log data=data_file.csv bad=test.bad
    When sqlloader loads the data into table it look like below
    Code:
    86	���������������������������	���������������������������������������������	0	1	1	1	SAKR	SAKRPHS001	140341231	������������������������������������
    86	���������������������������	���������������������������������������������	0	1	1	1	SAKR	SAKRPHS002	140341249	������������������������������������
    I want to print exact record into table.
    Last edited by zmbd; Dec 29 '15, 02:29 PM. Reason: [z{placed code tags around "table" was causing a virus warning"}]
Working...