how to store unicode in oracle?

From: Charlie Wu (cwu@brocade.com)
Date: Mon May 07 2001 - 14:58:24 EDT


sorry forgot to paste the NLS_DATABASE_PARAMETERS output :)

SQL> select * from NLS_DATABASE_PARAMETERS;

PARAMETER VALUE
------------------------------ ----------------------------------------
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM

PARAMETER VALUE
------------------------------ ----------------------------------------
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_NCHAR_CHARACTERSET US7ASCII
NLS_RDBMS_VERSION 8.1.6.0.0

18 rows selected.

> -----Original Message-----
> From: Charlie Wu
> Sent: Monday, May 07, 2001 11:56 AM
> To: 'unicode@unicode.org'
> Subject: how to store unicode in oracle?
>
> Hi there:
>
> I am trying to store some information in Chinese to an oracle db (8.1.6)
> who NLS_PARAMETERS are as pasted below.. what kind of datatype should I
> use to store unicode? Is there a way I can store this as ascii/varchar2
> and then somehow when my java application retrieves the data display it as
> Unicode or GB chinese again?
>
> Thanks!
>
> Charlie
>
>
> <<Charlie Wu.vcf>>





This archive was generated by hypermail 2.1.2 : Fri Jul 06 2001 - 00:18:17 EDT