SQL Error: ORA-12712: new character set must be a superset of old character set

前端 未结 4 473
北荒
北荒 2021-01-13 09:47

I want to change character set of oracle database from \'WE8MSWIN1252\' to \'AL32UTF8\'

I tried to execute following steps from the link (http://download.oracle.com/

4条回答
  •  执笔经年
    2021-01-13 10:21

    Below worked for me in 19C.

    Issue

    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set Warning: possible data loss in character set conversions

    Steps

    Database started in Restriction mode.

    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';

    PARAMETER

    VALUE

    NLS_CHARACTERSET AL32UTF8

    SQL> alter database character set WE8MSWIN1252; alter database character set WE8MSWIN1252 * ERROR at line 1: ORA-12712: new character set must be a superset of old character set

    SQL> alter database character set INTERNAL_USE WE8MSWIN1252;

    Database altered.

    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';

    PARAMETER

    VALUE

    NLS_CHARACTERSET WE8MSWIN1252

    SQL>

    Cheers! RaJ...

提交回复
热议问题