Oracle National Character set change
Oracle National Character set change Changing Character Set or National Character Set are vary rare activity which DBA need to perform. In This blog, We will discuss about changing of National Character Set. We would like to change NLS_NCHAR_CHARACTERSET parameters for our database: current value - AL16UTF16 New required value - AL32UTF8 Below are the Steps followed to change the Database National Character Set: For Oracle 9i Database: 1) export all the user N-data (this may included 'SYSMAN' data) select distinct OWNER, TABLE_NAME from DBA_TAB_COLUMNS where DATA_TYPE in ('NCHAR','NVARCHAR2', 'NCLOB') and OWNER not in ('SYS','SYSTEM', 'XDB'); 2)drop/truncate all the user N-data -- If you do not drop all N-data then you will run into -- ORA-12717: Cannot issue ALTER DATABASE NATIONAL CHARACTER SET when NCLOB, NCHAR or NVARCHAR2 data exists 3) run csscan to check if everything is o csscan FULL=Y TONCHAR=UTF8 LOG=check CAPTURE=Y ARR...