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

Home -> Community -> Mailing Lists -> Oracle-L -> Conversion of Character Set from US7ASCII to UTF8 in RAC 10gR2

Conversion of Character Set from US7ASCII to UTF8 in RAC 10gR2

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Tue, 19 Dec 2006 20:32:44 +0530
Message-ID: <BBD944BCAC3AB4499DFBAFB1D8AF3020024C5EFC@BLRKECMSG11.ad.infosys.com>

Folks

Need to Convert the Character Set of an Oracle10gR2 with RAC TEST Database from the Default "US7ASCII" to UTF8

Is the following Procedure to be followed?

  1. Shutdown the 2nd instance
  2. Export ALL the Tables (including SYS, SYSTEM Schema) having CLOB Datatype field

select distinct ('TABLE '||A.OWNER|| '.'||A.TABLE_NAME) from dba_tab_columns A, dba_tables B where A.table_name = B.table_name and DATA_TYPE= 'CLOB' 3) SQL> ALTER DATABASE CHARACTER SET AL32UTF8; 4) Import back ALL the Tables exported in Step 1

5) Export related Environment Variables:-

NLS_LANG=.AL32UTF8; export NLS_LANG

LANG=en_US.UTF-8; export LANG

LC_ALL=en_US.UTF-8; export LC_ALL

Thanks indeed

Vivek

Received on Tue Dec 19 2006 - 09:02:44 CST

Original text of this message

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