Oracle Export charset concern

Hi everyone,
Running Oracle 9i version 9.2.6.0 running on windows server 2003
I have run an export which completed sucessfully WITH warnings.
I figure I am getting this message due to the following line at the top of teh export log
"Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)"
What is causing me concern is that when I check the the following table v$NLS_PARAMETERS it clearly shows NLS_CHARACTERSET = WE8ISO8859P1 and not WE8MSWIN1252.
I have no idea where it is getting this or why it is using it for the export.
Should I be foucing on setting NLS-LANGi in environment variable at the OS user level, it doesn't seem to have one set. Or should I be foucesd on the fact Oracle seems to be showing two different character sets. Bascially I am stumped.
So now I don't know how to resolve this issue, any advice would be greatly appreciated.
Thanks guys

For future reference, the Globalization forum: Globalization Support
user12243721 wrote:
I have run an export which completed sucessfully WITH warnings.
I figure I am getting this message due to the following line at the top of teh export logYou should have EXP-nnnnn messsages in the log.
If exp-91, then you should match client charset to server's. If that is not possible you might use STATISTICS=none for the export.
"Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character setThis is the (requested) export client and produced dump file character set. It's picked up from NLS_LANG, which defaults to WE8MSWIN1252 on western europe Windows' settings.
server uses WE8ISO8859P1 character set (possible charset conversion)"This matches database character set (NLS_CHARACTERSET).
Should I be foucing on setting NLS-LANGi in environment variable at the OS user level, it doesn't seem to have one set. Oracle Home on windows platform has a "default" NLS_LANG setting, implemented through the registry. (The char set part matches windows acp, ansi code page, I believe).
Or should I be foucesd on the fact Oracle seems to be showing two different character sets. It's one and the same.
For the "traditional" exp/imp tools, always care for NLS_LANG settings. For export sessions you should generally (always) match export client char set to that of the database character set. Note that this is sort of an exception to the rule, that you should not look to the database for the client side setting (see the NLS_LANG FAQ).
Seeing your database character set (NLS_CHARACTERSET) and that Windows (win-1252) is mentioned in your post, there might be a potential loss of character data considering db is a subset (character repertoire). If you have Windows based clients/apps, character data may be lost during proper conversion (replacement character used). Also the much too common pass-through scenario, data may be at risk due to incorrect setup. See e.g.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#sthref165 (fig 2-6)
http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#i1005993
http://www.oracle.com/technetwork/database/features/globalization/nls-lang-099431.html

Similar Messages

  • Calling Oracle Export and Import in java

    Hi,
    I am trying to call oracle export and import utilites in my java application,
    can anyone help me that how can i do this, plz consider the case as this is a part of my project..
    Regards
    Ashish

    You should just be able to call the "imp" and "exp" executables ($ORACLE_HOME/bin) using the Runtime class. You can setup the various parameters for export / import in a parameter file.
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    http://www.orafaq.com/faqiexp.htm

  • Calling oracle export and import utilities in java

    Hi,
    can someone help me, i have to call oracle export and import utilities through my java application, can anyone guide me, how i can do it..
    Thansks
    Ashish

    Hi,
    can someone help me, i have to call oracle export and
    import utilities through my java application, can
    anyone guide me, how i can do it..You mean the command line ones? Use Runtime.exec();

  • Oracle Export and Import of XE application

    I am trying to do an Oracle Export of an EX application and an Import to another PC. Can it be done?
    I have encountered several problems. Either it brought over the application, but no Pages or I cannot access the Login page.
    My reason for this is to handle application updates/changes for 50 odd remote users.
    I am using APEX Release 2.1.0.00.39

    Yes it was a full database export with all schemas.
    I ran the following query before and after the import:
    select object_type, count(*) from dba_objects where owner = 'FLOWS_020100' group by object_type order by 1;
    After the IMPORT, I had less LOBs (4) and Tables(8).
    The missing tables are:
    DR$WWV_FLOW_OH_IDX$I
    DR$WWV_FLOW_OH_IDX$K
    DR$WWV_FLOW_OH_IDX$N
    DR$WWV_FLOW_OH_IDX$R
    DR$WWV_FLOW_OH_PT_IDX$I
    DR$WWV_FLOW_OH_PT_IDX$K
    DR$WWV_FLOW_OH_PT_IDX$N
    DR$WWV_FLOW_OH_PT_IDX$R
    The script below was used to reinstate the SYS grants to flows_020100:
    Select owner||':'||table_name||':'||privilege from dba_tab_privs where grantee='FLOWS_020100' and grantor='SYS';
    The results from the script:
    grant SELECT on SYS.OBJ$ to Flows_020100;
    grant SELECT on SYS.USER$ to Flows_020100;
    grant SELECT on SYS.V_$SESSION to Flows_020100;
    grant SELECT on SYS.V_$PARAMETER to Flows_020100;
    grant SELECT on SYS.V_$TIMER to Flows_020100;
    grant SELECT on SYS.DBA_IND_COLUMNS to Flows_020100;
    grant SELECT on SYS.DBA_OBJECTS to Flows_020100;
    grant SELECT on SYS.DBA_ROLLBACK_SEGS to Flows_020100;
    grant SELECT on SYS.DBA_ROLE_PRIVS to Flows_020100;
    grant SELECT on SYS.DBA_SYS_PRIVS to Flows_020100;
    grant SELECT on SYS.DBA_SEQUENCES to Flows_020100;
    grant SELECT on SYS.DBA_TABLES to Flows_020100;
    grant SELECT on SYS.DBA_TAB_COLUMNS to Flows_020100;
    grant SELECT on SYS.DBA_TAB_PRIVS to Flows_020100;
    grant SELECT on SYS.DBA_USERS to Flows_020100;
    grant EXECUTE on SYS.UTL_FILE to Flows_020100;
    grant EXECUTE on SYS.UTL_SMTP to Flows_020100;
    grant EXECUTE on SYS.UTL_HTTP to Flows_020100;
    grant SELECT on SYS.DBA_SEGMENTS to Flows_020100;
    grant SELECT on SYS.DBA_FREE_SPACE to Flows_020100;
    grant SELECT on SYS.DBA_DATA_FILES to Flows_020100;
    grant SELECT on SYS.DBA_TABLESPACES to Flows_020100;
    grant EXECUTE on SYS.DBMS_LOCK to Flows_020100;
    grant EXECUTE on SYS.DBMS_SYS_SQL to Flows_020100;
    grant EXECUTE on SYS.DBMS_FLASHBACK to Flows_020100;
    grant EXECUTE on SYS.DBMS_RLS to Flows_020100;
    grant EXECUTE on SYS.DBMS_CRYPTO to Flows_020100;
    grant EXECUTE on SYS.WWV_FLOW_VAL to Flows_020100;
    grant SELECT on SYS.FLOW_SESSIONS to Flows_020100;
    grant SELECT on SYS.FLOW_PARAMETERS to Flows_020100;
    grant SELECT on SYS.FLOW_SQLAREA to Flows_020100;
    grant SELECT on SYS.FLOW_SGA to Flows_020100;
    32 rows selected.
    FYI:
    When I Imported this last time, I Imported by users. Three imports statements for each user flows_020100, flows_files and apex_public_user (XE_DBA).
    imp system/passwrd file=g:\common\xe\xedba_full.dmp ignore=y fromuser=flows_020100 touser=flows_020100 log=c:\flows_logs.log
    imp system/passwrd file=g:\common\xe\xedba_full.dmp ignore=y fromuser=flows_files touser=flows_files log=c:\files_logs.log
    imp system/passwrd file=g:\common\xe\xedba_full.dmp ignore=y fromuser=xe_dba touser=xe_dba log=c:\xe_dba_logs.log
    as opposed to my initial IMPORT:
    imp system/passwrd file=g:\common\xe\xefull.dmp ignore=y
    FYI: I am not getting the Err-1016 "4550" Page "1" not found error. It now lets me log in , but there are[b] no applications. It should have been 5 applications.
    Hey, in typing the above statement, I realized that my login page is "101" (default) and Page "1" is a data entry page.

  • Oracle export file as source

    Hi,
    I'm new to this group and to OWB as well. I am re-building in OWB a small sample application that I have previously built in another ETL tool.
    One of the source files to be processed in this application is an Oracle export file. I have tried, and looked through the documentation, but it seems Oracle export format files are not supported as source files in OWB. This seems (to me) a strange omission in an Oracle ETL product, as imp/exp is an accepted an much-used way to exchange data.
    So the question is: am I right (export files not supported) or must I look better? And if I'm right: how can I use the export file in OWB? My guess is creating an "external process".
    Thanks,
    Gerton

    Gerton,
    You cannot directly read an export file and the format has not been published. Even through OWB you cannot read it... part of it I guess is to prevent a potential security hole (you would be able to read any data from an export file if you had OWB?).
    What you can do: external process to load the export file (command line), run a mapping against the schema, and use a transformation with dynamic SQL to drop the schema again. Not an elegant solution... but it could work.
    Thanks,
    Mark.

  • ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"

    HI
    I have took logical backup (export) on linux and import (windows 2003 server).
    export command:
    $expdp miqa/miqa schemas=miqa directory=backup_dir CONTENT=all dumpfile=miqa-`date +%d-%m-%Y`.dmp CONTENT=all logfile=miqa-`date +%d-%m-%Y`.log'
    when i import on windows 2003 server i am getting the following error
    grant create any directory to rnddb;
    create or replace directory backup_dir as 'd:\export';
    GRANT READ, WRITE ON DIRECTORY backup_dir TO rnddb;
    c:\>impdp rnddb/rnddb directory=backup_dir dumpfile=mitest-19-05-2009.dmp SCHEMAS=mitest REMAP_SCHEMA=mitest:rnddb CONTENT=all logfile=mitest-19-05-2009.log
    I am getting the following error.
    Import: Release 10.1.0.2.0 - Production on Wednesday, 17 June, 2009 14:45
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produ
    tion
    With the Partitioning, OLAP and Data Mining options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"
    pls could you help me where i done mistake.
    Thanks
    Settu Gopal

    ORA-31619:     invalid dump file "string"
    Cause:      Either the file was not generated by Export or it was corrupted.
    Action:      If the file was indeed generated by Export, report this as an Import bug and submit the export file to Oracle Customer Support.
    How was the dump file transferred between Linux and Windows server?

  • ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표

    제품 : ORACLE SERVER
    작성날짜 : 2002-10-08
    ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표
    ===============================================
    버젼이 상이한 데이타베이스간의 export/import 작업은 작업 수행시 반드시 상호
    호환성을 확인하여야 하며, 호환성이 없는 버젼간의 작업은 IMP-9 또는 IMP-10
    오류와 함께 작업이 실패하게 된다.
    다음은 V8.0 미만의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
    정보이고,
    ---------------------------------------------+
    | EXPORT | IMPORT to |
    | from --------------------------------+
    | | 7.0.x | 7.1.x | 7.2.x | 7.3.x |
    | 7.0.x | EXP70x | EXP70x | EXP70x | EXP70x |
    | 7.1.x | EXP70x | EXP71x | EXP71x | EXP71x |
    | 7.2.x | EXP70x | EXP71x | EXP72x | EXP72x |
    | 7.3.x | EXP70x | EXP71x | EXP72x | EXP73x |
    | 8.0.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
    | 8.1.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
    다음은 V8.0 이상의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
    정보이다.
    ----------------------------------------------------------------------+
    | EXPORT | IMPORT to |
    | from --------------------------------------------------------
    | | 8.0.3 | 8.0.4 | 8.0.5 | 8.0.6 | 8.1.5 | 8.1.6 | 8.1.7 |
    ----------------------------------------------------------------+
    | 7.x 주2| EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x |
    ----------------------------------------------------------------+
    | 8.0.3 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 |
    | 8.0.4 | EXP803 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 |
    | 8.0.5 | EXP803 | EXP804 | EXP805 | EXP805 | EXP805 | EXP805 | EXP805 |
    | 8.0.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP806 | EXP806 | EXP806 |
    ----------------------------------------------------------------+
    | 8.1.5 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP815 | EXP815 |
    | 8.1.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP816 |
    | 8.1.7 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP817 |
    ----------------------------------------------------------------+
    * 주의 사항 *
    주1.Oracle8이나 Oracle8i 데이타베이스를 Oracle7 데이타베이스로 import하고자
    하는 경우에는, import 수행 전 반드시 Oracle8이나 Oracle8i 데이타베이스를
    대상으로 SYS 사용자로 CATEXP7.SQL 스크립트를 수행하여야 함.
    주2.Oracle7 export dump 화일을 Oracle8이나 Oracle8i 데이타베이스로 import
    하는 경우에는 DATE 타입의 컬럼에 지정되어 있는 제약조건이 invalid 상태로
    변함.
    기타 주의사항으로는,
    1. 상위 버젼의 데이타베이스에 대해 exp 명령을 사용할 경우에는 반드시 tns
    alias를 이용한 SQL*Net 접속이 필요하며,
    2. DIRECT path export 방식은 지원하지 않으므로, CONVENTIONAL path 방법만을
    사용하여야 한다.
    현재 운영중인 데이타베이스가 유지하고 있는 export와 import 관련 뷰의 버젼을
    확인하기 위해서는 다음 명령어를 이용할 수 있고, 값에 해당하는 버젼 번호는
    아래 표와 같다.
    SQL> SELECT * FROM sys.props$ WHERE name LIKE 'EXPORT%';
    NAME VALUE$ COMMENT$
    EXPORT_VIEWS_VERSION 8 Export views revision #
    | EXPORT_VIEWS_VERSION |
    ------------------------------+
    | Value | Introduced in Release |
    ------------------------------+
    | 1 | 7.1.3 |
    | 2 | 7.2.1 |
    | 3 | 7.2.3 |
    | 4 | 8.0.1 |
    | 5 | 8.0.2 |
    | 6 | 8.0.3 |
    | 7 | 8.0.4 |
    | 8 | 8.1.6 |
    ------------------------------+

  • Scripting Oracle export and import dumps

    Hello,
    I would like to know if it is possible to script oracle export and import dump commands in a PL/SQL package rather than at command prompt. Also, how can i copy the export dump files across the network to a specific location.
    I would really appreciate if someone can provide me with examples????
    Thanks.

    Yes, there's DBMS_JOB on 9i, it's sort of DBMS_SCHEDULER's 'grampa' ;)
    Check the 9i docs (http://tahiti.oracle.com) and do some searches here and on http://asktom.oracle.com for more info.
    Hoewever, in order to execute OS-commands, you'll probably need a JAVA wrapper.
    DBMS_JOB cannot do that.
    Examples can be found here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:952229840241
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:16212348050

  • Scripting oracle export and import dumps through PLSQL stored procedures

    Hello,
    I would like to know if it is possible to script oracle export and import dump commands in a PL/SQL package rather than at command prompt. Also, how can i copy the export dump files across the network to a specific location.
    I would really appreciate if someone can provide me with examples????
    OR
    If there is off the shelf solution for what i am trying to achieve?
    Many Thanks.

    Hello,
    there are many ways to do this:
    - Java with PL/SQL wrapper,
    - call C code as external procedure from PL/SQL,
    - DBMS_SCHEDULER has some features related to this as well,
    - or write your own logic: for example creating a new file with UTL_FILE could be the trigger of the export.
    Franky
    Edited by: Franky on Aug 10, 2009 4:25 AM - extended

  • Oracle Export Error on QUERY Parameter

    Hi All,
    I would like to ask for assistance.
    Here's my environment:
    OS: Linux 5.4 32bit
    DB: Oracle 10.2.0.4
    Here's what I would like to do:
    Export selected rows from SH.SALES table using the query:
    SQL> select * from sh.sales
    where to_date(time_id,'DD-MON-RR:HH24:MI:SS') = to_date('28-DEC-01:00:00:00','DD-MON-RR:HH24:MI:SS');
    My parfile is:
    userid="sys/oracle as sysdba"
    buffer=10000000
    file=mysales148.dmp
    log=mysales148.log
    TABLES=sh.mysales
    query="where to_date(time_id,\'DD\-MON\-RR:HH24:MI:SS\')=\to_date(\'28\-DEC\-01:00:00:00\',\'DD\-MON\-RR:HH24:MI:SS\')"
    recordlength=65535
    statistics=none
    When I run the script, I am getting this error:
    [oracle@shaoran selective_export]$ exp parfile=exp_mysale.par
    Export: Release 10.2.0.1.0 - Production on Thu Feb 3 16:57:08 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to SH
    . . exporting table MYSALES
    EXP-00056: ORACLE error 911 encountered
    ORA-00911: invalid character
    Export terminated successfully with warnings.
    Hope to hear your feedback soon.
    Thanks a lot!

    Hi Guys,
    Thanks for the feedback.
    I edited my parfile as shown here:
    [oracle@shaoran selective_export]$ cat exp_mysale.par
    userid="sys/oracle as sysdba"
    buffer=10000000
    file=mysales148.dmp
    query="where time_id=\to_date(\'28\-DEC\-01:00:00:00\',\'DD\-MON\-RR:HH24:MI:SS\')"
    log=mysales148.log
    TABLES=sh.mysales
    recordlength=65535
    statistics=none
    [oracle@shaoran selective_export]$
    and I did the following steps:
    [oracle@shaoran selective_export]$ export NSL_LANG=AMERICAN_AMERICA.UTF8
    [oracle@shaoran selective_export]$ exp parfile=exp_mysale.par
    Export: Release 10.2.0.1.0 - Production on Fri Feb 4 11:34:03 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in UTF8 character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to SH
    . . exporting table MYSALES
    EXP-00056: ORACLE error 911 encountered
    ORA-00911: invalid character
    Export terminated successfully with warnings.
    [oracle@shaoran selective_export]$
    I still get the same error. :(

  • Oracle export error

    Hi I am trying to export a table with 2 million records and getting below error.
    exp user1/user1 buffer=8192 compress=y file=Test_table.dmp tables=test_table filesize=8192000000
    Export: Release 10.2.0.1.0 - Production on Mon Oct 29 12:49:23 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table TEST_TABLE
    EXP-00065: Error writing lob to the dump file.error closing export file Test_table.dmp
    Export terminated successfully with warnings.
    How to calculate what's the filesize I should give during export?
    Thanks

    Hi,
    the error might be related to the file system not supporting large files.
    What is your target file system? FAT, FAT32 or NTFS?
    For Windows the maximum file size is 4Gb files on FAT, theoretical 16Tb on NTFS.
    Consider also that for this kind of question there is a specific forum: Export/Import/SQL Loader & External Tables
    Regards.
    Al
    Edited by: Alberto Faenza on Oct 29, 2012 9:43 AM

  • Oracle export error while using exp.

    Hi folks,
    Any idea why am i getting this error when I tried to get an export file?
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine optionsSegmentation Fault (core dumped)
    Steps:
    I was trying to get export file from db test/test_pass@env1 with below export command.
    Encountered the above error.
    exp test/test_pass@env1 FILE=another_test_dmp.dmp OWNER=another_test TRIGGERS=n GRANTS=y ROWS=y COMPRESS=y
    Log file created with 0 bytes.
    Some file name with core created. (huge in volume)
    another_test_dmp.dmp file created with 0 bytes.
    Appreciated your help in this.
    Thank you.
    Edited by: TechMahi.com on May 6, 2010 5:28 AM

    Hi,
    You should look your core dump to see more details of your error. If you want you could post it to see if we can help you.
    You can find it looking at the parameter CORE_DUMP_DEST
    Regards,
    Mario Alcaide
    http://marioalcaide.wordpress.com

  • Oracle Export and import

    Hi,
    I just want to do the export and import.
    Source DB - Oracle 10g on Solaris 64 bit OS. (Export)
    Destination DB - Oracle 9i on Windows OS (import).
    Kindly confrm that these export and import is possible in oracle.
    Thank you,

    add version=9.x while taking the export from solarisThat advice doesn't apply for 10g to 9i.
    The export has to be done with the 9i "exp" binary, from a 9i ORACLE_HOME. It can be done over a SQLNet connection.
    The subsequent import has to be done with the 9i "imp" binary.
    Hemant K Chitale

  • Oracle Export Utility

    Hi I have to export data from Oracle 9i to unix in flat file.
    My data in oracle is having Chinese Traditional and User defined word along with English words. I am using Oracle 9i database.
    In Oracle its in UTF8 encoding and i have to export data in BIG5 encoding in Unix.
    Please tell me the possible ways to export data from Oracle to Unix with encoding conversion(UTF-8 to BIG 5).
    Thanks for help in advance.
    Rgds,
    Anshu

    Hi Sergiusz,
    Thanks for reply.
    When i tried on DB that was on Solaris 8, it was no working and all Double Byte char were becoming as ?.
    But when i tried on DB that was on Solaris 10, It was giving correct values and this DB has following NLS_DATABASE_PARAMETERS values:
    NLS_NCHAR_CHARACTERSET : AL16UTF16
    NLS_CHARACTERSET : AL32UTF8
    If i have one DB which have following NLS_DATABASE_PARAMETERS values:
    NLS_NCHAR_CHARACTERSET : UTF8
    NLS_CHARACTERSET : UTF8
    Then still it will work fine?
    I can not check this on above DB(that having NLS_NCHAR_CHARACTERSET and NLS_CHARACTERSET as UTF8) as its productiona and i dont have access to test it.
    Pls suggest.
    Thanks in advance.
    rgds,
    Anshu

  • Oracle Export Utilty

    Hi I have to export data from Oracle 9i to unix in flat file.
    My data in oracle is having Chinese Traditional and User defined word along with English words. I am using Oracle 9i database.
    In Oracle its in UTF8 encoding and i have to export data in BIG5 encoding in Unix.
    Please tell me the possible ways to export data from Oracle to Unix with encoding conversion(UTF-8 to BIG 5).
    Thanks for help in advance.
    Rgds,
    Anshu

    You can not export this via exp utility.
    you have to write your own procedures or sql scripts to transform the data in the palin file format or SDF format
    but you have to open the file in binary form and save that in binary itself.
    You have to Use PRO*C to perform this operation.
    or you may user java program as
    change the insert sql statement in my JAVA program, by including convert function to convert 1 encoding to BIG5 encoding (my Oracle is BIG5).
    java program to get local encoding
    System.getProperty ("file.encoding"), it gives 'WE8ISO8859P15'.
    So change the INSERT sql to include conversion from 'WE8ISO8859P15' to BIG5 -->
    vlSqlQuery = "INSERT INTO anytable (str_myfield) VALUES (convert " str_myfield ", 'WE8ISO8859P15', 'ZHT16BIG5'))";
    str_myfield is data read from any txt file
    The result can be tested from 'UTF8', 'AL32UTF8', 'AL16UTF16', 'US7ASCII', 'UTFE' to 'ZHT16BIG5'
    Just try
    Good Luck

Maybe you are looking for