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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 7 -> Oracle 8 + 8th bit problem and NLS_LANG

Re: Oracle 7 -> Oracle 8 + 8th bit problem and NLS_LANG

From: Georges KO <gko_at_gko.net>
Date: 28 Aug 2002 18:21:47 +0800
Message-ID: <ybyd6s31dxg.fsf@gko.net>


"Anurag Varma" <avdbi_at_hotmail.com> writes:

> What is the characterset on both databases?
> select * from nls_database_parameters; --- ??

    On Oracle 7, the charset is US7ASCII, and it's ZHT16BIG5 on Oracle 8.

> Also, In the Oracle 7 database what is the datatype
> of the columns you are selecting from ...
> same question for the Oracle 8?

    VARCHAR2.
> I might be wrong .. but don't you think you
> should have tried convert(data,'fromcharset','tocharset')?

    I tried, but get '?' instead of Chinese characters.

    The current situation is this:

    Actually, what I need is really simple: transfer raw data from Oracle 7 to Oracle 8 only without stripping the 8th bit, in an Oracle job...

    As this is for use with a web server, the only hack I have found to display the Chinese characters is:

    Of course, this is ugly, because I have then to double the columns that may contain Chinese and the web pages code have to take care of this... Received on Wed Aug 28 2002 - 05:21:47 CDT

Original text of this message

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