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

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

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

From: Polarski, Bernard <Bernard.Polarski_at_atosorigin.com>
Date: Tue, 19 Dec 2006 16:17:49 +0100
Message-ID: <25D4919915CCF742A88EE3366D6D913D11168AF4@mailserver1>


There is a tool csscan, which is already in your $ORACLE_HOME/bin dir in 10g, that need to be executed.

It will warn you on column wide violation during conversion and some others stuff such has uses of char() function in PL/SQL pkg.

Search on metalink, it is quite well explained.    

Bernard Polarski

Oracle DBA  

Direct +32(0)2 690 28 90

Fax +32(0)2 690 27 82  

Da Vincilaan 5

1930 Zaventem

Belgium

www.atosorigin.com/be


From: VIVEK_SHARMA [mailto:VIVEK_SHARMA_at_infosys.com] Sent: dinsdag 19 december 2006 16:03
To: oracle-l_at_freelists.org
Subject: Conversion of Character Set from US7ASCII to UTF8 in RAC 10gR2  

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    

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Dec 19 2006 - 09:17:49 CST

Original text of this message

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