ORA-12716: Cannot ALTER DATABASE CHARACTER SET when CLOB data exists
Cause: CLOB data changes representation to Unicode when converting to a multibyte character set and must be migrated
Action: Remove CLOB data as listed in the alert file. CLOB data can be migrated by methods such as import/export
ORA-12716:当CLOB数据存在时,不能更改数据库字符集。
1、转移数据到新建的数据库,新建的数据库更改字符集。
2、如果只是更改字符集,而不更改编码,可以针对特定的用户进行 ALTER SESSION SET NLS_LANGUAGE 语句设定,以告知 Oracle 为这些用户使用指定的编码和字符集。