how to know character set as single character or multi character [message #596750] |
Thu, 26 September 2013 02:36 |
ishika_20
Messages: 339 Registered: December 2006 Location: delhi
|
Senior Member |
|
|
Dear All,
I would like to know, how do we know database character set is either single character set or multi character set?
While changing character-set from AL32UTF8 to WE8MSWIN1252 got "ORA-12712: new character set must be a superset of old character set".
Below are steps taken to resolve the issue -
ALTER DATABASE CHARACTER SET WE8MSWIN1252;
i got this error: ORA-12712: new character set must be a superset of old character set
After some googling I found solution, below are the commands executed by me:
SQL> SHUTDOWN IMMEDIATE;
SQL> CONNECT SYS/password AS SYSDBA;
SQL> STARTUP MOUNT;
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
SQL> ALTER DATABASE OPEN;
SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE WE8MSWIN1252;
SQL> SHUTDOWN;
SQL> STARTUP;
SQL> QUIT;
And its working...
I have not done it in proper order. Neither have done ccsscan.
Still, no user reported any issues. Do my changes truncated the data?
Regards,
Ishika
|
|
|
|
|
|
|
Re: how to know character set as single character or multi character [message #596763 is a reply to message #596759] |
Thu, 26 September 2013 04:29 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
AL32UTF8 and WE8MSWIN1252 are both ASCII Database Character Sets. And both are 8-bit. So, data should not change. If you change from 7-bit to 8-bit, an extra bit will be added. But you have used INTERNAL_USE which should be used only by Oracle suppport staff, so nobody can gurantee the consequences now. If you have any dump from previous character set, now check and see with dump for new data.
Regards,
Lalit
|
|
|
|
|
|
|
|