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:20:19 +0100
Message-ID: <25D4919915CCF742A88EE3366D6D913D11168B03@mailserver1>


Here are some notes :  

Note 260192.1 Changing WE8ISO8859P1/WE8ISO8859P15 or WE8MSWIN1252 to UTF8 with ALTER DATABASE CHARACTER SET

Note 119119.1 UTF8 Database Character Set Implications

Note 123670.1 Use Scanner Utility before Altering the Database Character Set

Note 225912.1 Changing the Database Character Set - a short Overview    

Bernard Polarski  


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:20:19 CST

Original text of this message

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