How to exp/imp both diff character set tables between in DB1 and DB2?

In the Solaris 2.7 ,the oracle 8i DB1 has NLS_CHARACTERSET
ZHS16CGB231280 and NLS_NCHAR_CHARACTERSET ZHS16CGB231280
character set.
In other linux7.2 system ,the oracle 8i DB2 is install into the
NLS_NCHAR_CHARACTERSET US7ASCII and NLS_CHARACTERSET US7ASCII
character set.
The tables contents of DB1 have some chinese. I want to exp/imp
tables of DB1 into DB2 . But the chinese can't correct display
in the SQLWheet tools. How do the Exp/Imp operation ? ples help
me . thanks .

The supported way to store GB231280-encoded characters is using a ZHS16CGB231280 database or a database created using a superset of GB231280 ,such as UTF8 .Can you not upgrade your target database from US7ASCII to ZHS16CGB231280 ?
With US7ASCII and NLS_LANG set to US7ASCII , you are using the garbage in garbage out (GIGO) approach. This may seem to work but there are many hidden problems :-
1. Invalid SQL String Function behaviours - LENGTH ( ) , SUBSTR ( ) , INSTR ( )
2. Data can be corrupted when data is loaded into another database. e.g. EXP / IMP , Dblinks
3. Communication with other clients will generate incorrect results. e.g. other Oracle products - Oracle Text, Forms. , Java , HTML etc.
4. Linguistic sorts not available
5. Query using the standard WHERE clause may return incorrect results ..
6. Extra coding overhead in handling character conversions manually.
I recommend you to check out the FAQ and the DB Character set migration guide on the Globalization Support forum on OTN.
Nat.

Similar Messages

  • IMP 00037 : Unknown character set marker.

    I have used Oracle 9i (9.2.0.1) in my machine. Existing O/S in my machine is Win XP with service pack 2. I have created clubtown database user in machine.
    Grant connect, resource, dba to clubtown user. Now i import data i.e. clubtown.dmp file which i have received from my client. i placed clubtown.dmp file in C:\. Then I invoke command prompt.(C:\) I put the command below..
    imp system/<system-password> file=clubtown.dmp fromuser=clubtown touser=clubtown buffer=80000
    log=club.log Unfortunately import done unsuccessfully.
    giving message :
    IMP 00037 : Unknown character set marker.
    Note : When i installed Oracle in my Machine
    i chose default character set.

    How did you get that file? Was ftp involved? Did you ftp the file in binary mode?
    The file needs to be ftp-ed in binary mode, or you will get this or other similar errors.
    Sybrand Bakker
    Senior Oracle DBA

  • IMP-00016: required character set conversion (type 1 to 871) not supported

    I am running Oracle DB: 8.1.7.4
    Hit a problem when I export from Source DB: US7ASCII
    and then, import into Target DB: UTF8.
    Is there any workaround if this is the only export dump available?
    Many thanks in advance.

    Thanks for the prompt reply.
    Both source and target are in the same version: 8.1.7.4.
    The error gotten:
    Import: Release 8.1.7.4.0 - Production on Fri Aug 22 15:37:37 2008
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Release 8.1.7.4.0 - Production
    JServer Release 8.1.7.4.0 - Production
    IMP-00016: required character set conversion (type 1 to 871) not supported
    IMP-00000: Import terminated unsuccessfully
    Many thanks in advance.

  • IMP-00016  required character set conversion (type 178 to 871) not supported

    Hi, I am importing Portal release 2 handson to our test database whose character set is UTF8,durning importing, the following error message comes out 'IMP-00016: required character set conversion (type 178 to 871) not supported',what should i do? thank u in advance . My mail address is:[email protected] .

    Thanks for the prompt reply.
    Both source and target are in the same version: 8.1.7.4.
    The error gotten:
    Import: Release 8.1.7.4.0 - Production on Fri Aug 22 15:37:37 2008
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Release 8.1.7.4.0 - Production
    JServer Release 8.1.7.4.0 - Production
    IMP-00016: required character set conversion (type 1 to 871) not supported
    IMP-00000: Import terminated unsuccessfully
    Many thanks in advance.

  • How does one do a two way contacts sync between an iphone and outlook? Most of the community has answered as this to be "always so", but it does not work! Changes made on outlook get done in my iPhone, but it does not work the other way around!

    How does one do a two way contacts sync between an iphone and outlook? Most of the community has answered as this to be "always so", but it does not work! Changes made on outlook get done in my iPhone, but it does not work the other way around!

    Close the tab the web page is loaded in (command - W).

  • Hi In TB how can I delete or disable the wide pane between the list and message pane?

    Hi
    In Tb 24.6.0 how can I delete or disable the wide pane between the list and message pane?
    Thank you.

    You cannot delete it. It is part of the message pane.
    You can make it smaller with this add on.
    https://addons.mozilla.org/en-US/thunderbird/addon/compactheader/?src=ss

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • How to review implication of database character set change on PL/SQL code?

    Hi,
    We are converting WE8ISO8859P1 oracle db characterset to AL32UTF8. Before conversion, i want to check implication on PL/SQL code for byte based SQL functions.
    What all points to consider while checking implications on PL/SQL code?
    I could find 3 methods on google surfing, SUBSTRB, LENGTHB, INSTRB. What do I check if these methods are used in PL/SQL code?
    What do we check if SUBSTR and LENGTH functions are being used in PL/SQl code?
    What all other methods should I check?
    What do I check in PL/SQL if varchar and char type declarations exist in code?
    How do i check implication of database characterset change to AL32UTF8 for byte bases SQL function.
    Thanks in Advance.
    Regards,
    Rashmi

    There is no quick answer.  Generally, the problem with PL/SQL code is that once you migrate from a single-byte character set (like WE8ISO8859P1) to a multibyte character set (like AL32UTF8), you can no longer assume that one character is one byte. Traditionally, column and PL/SQL variable lengths are expressed in bytes. Therefore, the same string of Western European accented letters may no longer fit into a column or variable after migration, as it may now be longer than the old limit (2 bytes per accented letter compared to 1 byte previously). Depending on how you dealt with column lengths during the migration, for example, if you migrated them to character length semantics, and depending on how relevant columns were declared (%TYPE vs explicit size), you may need to adjust maximum lengths of variables to accommodate longer strings.
    The use of SUBSTR, INSTR, and LENGTH and their byte equivalents needs to be reviewed. You need to understand what the functions are used for. If the SUBSTR function is used to truncate a string to a maximum length of a variable, you may need to change it to SUBSTRB, if the variable's length constraint is still declared in bytes.  However, if the variable's maximum length is now expressed in characters, SUBSTR needs to be used.  However, if SUBSTR is used to extract a functional part of a string (e.g. during parsing), possibly based on result from INSTR, then you should use SUBSTR and INSTR independently of the database character set -- characters matter here, not bytes. On the other hand, if SUBSTR is used to extract a field in a SQL*Loader-like fixed-format input file (e.g. read with UTL_FILE), you may need to standardize on SUBSTRB to make sure that fields are extracted correctly based on defined byte boundaries.
    As you see, there is universal recipe on handling these functions. Their use needs to be reviewed and understood and it should be decided if they are fine as-is or if they need to be replaced with other forms.
    Thanks,
    Sergiusz

  • Imp fails with character set marker unknown

    Hi All,
    I'm trying to import a dump that was done in WE8ISO8859P1 with Oracle 9i 9.2.0.5.0 into the Western European XE version on Windows XP Professional SP2.
    I get an IMP-00037 Character set marker unknown error
    I've tried setting NLS_LANG to American_UNITED KINGDOM.WE8ISO8859P1 but the same result. Obviously I'm just a novice but you've to start somewhere right, any help appreciated

    Setting NLS_LANG to either character set should be fine. WE8MSWIN1252 is a superset of WE8ISO8859P1 ( http://aswan.gatech.edu/docs/oracle/10g/server.101/b10749/applocal.htm#636814 ) .
    From the docs:
    There are two character set conversions when you Import a dump file. The first one is performed by Import executable from the character set of the dump file (which is equal to NLS_LANG of Export session) to the character set of NLS_LANG of the Import session. The second conversion from the Import NLS_LANG to the database character set is performed by SQL*Net.
    Here is more information in the docs:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1021901
    ~Dietmar.

  • How DO i check my OS character set?

    hi i am currently using winxp home,
    i can switch between input of thai and english characters.
    but i want to set my nls_lang to that of os character set, so that proper conversion can be done when i insert into my unicode database.
    can i know how do i check my characterset of my os? i can input for englisn and thai, and i need to input thai into my database.
    thanks.

    SELECT * FROM gv_$nls_parameters;

  • How the hell does a person share session data between JSP page and a Servle

    1. How the hell does one share session data between a servlet and a JSP page without using a bean but rather using a normal string variable.
    2. When using session scope to access a bean the application complains about not finding the bean on the specified scope, however when I use an application scope the save the same bean, the application does find it.
    Please help!!!!!!!
    SERVLET:
    HttpSession session = request.getSession(true);
    ServletContext servletContext = session.getServletContext();
    customerID = result.getString("CustomerID");
    userName = result.getString("UserName");
    session.setAttribute("UserName",userName);
    session.setAttribute("CustomerID",customerID);
    System.out.println("Customer UserName = " + session.getAttribute("UserName"));
    response.sendRedirect("/economics/subscriptions/default.jsp");
    JSP PAGE:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root xmlns:jsp=http://java.sun.com/JSP/Page mlns:c="http://java.sun.com/jsp/jstl/core" xmlns:sql="http://java.sun.com/jsp/jstl/sql" version="2.0">
    <jsp:directive.page isThreadSafe="true" session="true" contentType="text/xml"/><jsp:output omit-xml-declaration="false"/><jsp:scriptlet>response.addHeader("x-xslt-nocache", "true");</jsp:scriptlet><pml>
    <page type="web" search="y">
         <pageName>Commercial Banking</pageName>
         <jsp:directive.include file="/economics/header.inc"/>
         <jsp:directive.include file="/login.inc"/>
         <jsp:directive.include file="/economics/leftMenu.inc"/>
         <!--<jsp:useBean id="UserName" type="java.lang.String" scope="session" />-->
         <content>
         <searchSum>Commercial - Main Content</searchSum>
         Value = <c:out value="${request.session.getAttribute("UserName")}"/>
         </content>
         <jsp:directive.include file="/economics/rightNav.inc"/>
         <jsp:directive.include file="/footer.inc"/>
    </page></pml></jsp:root>

    For a start, just "session" instead of "request.session" would work better. But why did you post this here and not in the JSP forum? Doesn't seem to have anything to do with Java programming.

  • How to fix the position of controls, so table expands into whitespace and doesn't push lower controls down (invoice report in SSRS 2005)

    I am designing an invoice report. There are some controls at the top of the report (company logo, date, invoice number etc), followed by a table listing the items in the invoice, followed by some controls at the bottom (subtotals, returns address etc). The report should always print onto a single page.
    I want the controls at the bottom to have a fixed position on the page. There is sufficient whitespace between these controls and the table above for the table to expand to list many items. However whenever it expands it pushes the lower controls down. This results in them spilling onto a second page.
    Is there a way to fix the position of controls and suppress the "gets pushed down when controls above expand" effect?

    Thanks for that. I found a good solution using rectangles here: SQL Server 2005: Report Design Best Practices and Guidelines
    Here's the relevant part (see underlining):
    Using Rectangles to Keep Objects Together
    Rectangles in Reporting Services can be used either as graphical elements or as containers of objects. As object containers, they keep objects together on a page and control how object move and push each other.
    To keep multiple objects together on a page, put the objects within a rectangle. You can then put a page break before or after the rectangle by using the PageBreakAtStart or PageBreakAtEnd properties for the rectangle.
    Using Rectangles to Control Item Growth and Displacement
    Items within a rectangle become peers of each other and are governed by the rules of how peer items are positioned on the page as they move or grow. For example:
    Items will push or displace each other within the rectangle.
    Items will not push or displace items outside the rectangle, because they are not their peers.
    If necessary, a rectangle will grow to accommodate the items it contains.
    You can use this logic to your advantage when dealing with objects that expand. For example:
    If you want to leave a blank space in your report for a table to expand into, group the blank space and the table in the same rectangle. When the table grows, it will push the blank space .
    If you want to prevent a matrix from pushing items off the right edge of the page, put the matrix within a rectangle with blank space to its right. Now, the matrix is no longer a peer to the other item on the page and will not be able to push it until the matrix can no longer be contained within its rectangle.

  • How do i change the default character set?

    I'm from Brazil, and here we have special characters like "�", "�", "�", etc.
    I need the JVM to understand that from the database and print it correctly on my page (I'm using servlets).
    How do i do that?
    thanks to all.

    java works just fine with Brazilian characters....I
    should know I developed software for a brazilian
    company for the last 5 years using java.
    Ok. I believe you do. I just wanna know how. i'm using servlets. So, to print out the page, i use.
    PrintWriter out = response.getWriter();
    out.println("some_text");
    out.println(resultset.getString("some_field"));
    If "some_text" contains special characters, they are printed correctly. No problem about that.
    the problem is when the string from the database/resultset has special characters. Those aren't printed correctly. And that's what i want to fix.
    Any suggestions?

  • Character set table for unicode conversion

    Experts,
    If one identifies a special character that fails during code page conversion (CX_SY_CONVERSION_CODEPAGE), can this character then be added into a table that will recongnize it and not fail moving forward? If so, how to go about it?
    Any help is appreciated.
    UV

    Note this
    Unicode Error : In the Unicode context, TRANSLATE... CODEPAGE/NUMBER FORMAT is not allowed.
    Before Unicode
    TRANSLATE T143T-TBTXT FROM CODE PAGE '1100' TO CODE PAGE '1105'.
    After Unicode
    Use class for Translate codepage to codepage.
    Data : g_codepage LIKE tcp0c-charco VALUE '1100'.
    CONSTANTS: c_unicodecp(4) VALUE '1105'.
    PERFORM translate_codepage USING g_codepage
    c_unicodecp
    CHANGING T143T.
    FORM translate_codepage USING P_G_CODEPAGE
    P_C_UNICODECP
    CHANGING P_T143T.
    DATA: converter TYPE REF TO cl_abap_conv_obj.
    DATA: l_out TYPE string.
    DATA: l_fromcode TYPE cpcodepage.
    DATA: l_tocode TYPE cpcodepage.
    l_fromcode = P_G_CODEPAGE.
    l_tocode = P_C_UNICODECP.
    CREATE OBJECT converter
    EXPORTING
    incode = l_fromcode
    miss = '.'
    broken = '.'
    use_f1 = 'X'
    outcode = l_tocode
    EXCEPTIONS
    invalid_codepage = 1
    internal_error = 2.
    IF sy-subrc 0.
    CASE sy-subrc.
    WHEN 1.
    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
    WHEN 2.
    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
    ENDCASE.
    ENDIF.
    CALL METHOD converter->convert
    EXPORTING
    inbuff = P_T143T
    inbufflg = 0
    outbufflg = 0
    IMPORTING
    outbuff = l_out
    EXCEPTIONS
    internal_error = 1
    OTHERS = 2.
    IF sy-subrc 0.
    CASE sy-subrc.
    WHEN 1.
    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
    WHEN 2.
    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
    ENDCASE.
    ENDIF.
    P_T143T = l_out.
    ENDFORM. " translate_codepage
    Reward if helps

  • How to set connection between oracle forms and DB?

    I have installed win xp,
    oracle database 10g in c drive ,
    oracle forms and reports 10g in d drive ,
    how do i set the connection between forms and DB ?
    i know its an old question but i am very new to this !
    thanks in advance.

    You didn't mention the versions or whether you are using Developer Suite or Application Server. I guess it really doesn't matter in this case, but please provide complete information in the future.
    In order to connect the F/R home to a db you will need to make the appropriate configuration entries in tnsnames.ora found in the F/R home (\NETWORK\ADMIN). The entry you add will be similar to the one found in the tnsnames.ora for the db which is found in a similar directory in the db home. The entry will look something like this:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myMachine)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = myMachine)
      )

Maybe you are looking for

  • I have a passcode on my iPhone but ....

    The iPhone is a great gadget with mobile phone, music, games and lots more features that make friends and family want to play with it. But my iPhone also holds a lot of personal information; Notes, emails, SMS and so on. How can I lock these casual u

  • TextArea In CellRenderer doesn't initialize

    I'm new to AS3 so I'm not sure if this is something I'm doing wrong or a bug in the component... I have a List component and I'm using a movieclip as a custom cellRenderer - it's class extends MovieClip & implements ICellRenderer. In this movieclip I

  • Stripping old web pages of font tags : best way?

    I'm converting very old HTML files (we're talking pre-CSS here) for re-publication. These files date back to 1997. Is there some sort of wildcard search expression I can use to strip hundreds of web pages of old HTML font tags (so I can then apply ne

  • Kernel Upgrade

    Hi Gurus, I have questions regarding kernel upgarade. I have downloaded db dependent and independent .sar files and put it in new folder outside the directory usr/sap/SID/sys/exe/uc. Now my questions: 1. Is it ok to uncar .sar files in my own directo

  • I am unable to change username and password for wifi network

    unable to change username and password for wifi network