文档解释
ORA-12713: Character data loss in NCHAR/CHAR conversion
Cause: When character set conversion happens between CHAR and NCHAR either implicitly or explicitly, some characters are lost due to no mapping characters in the destination character set.
Action: Make sure all the characters can be mapped to destination character set or set NLS_NCHAR_CONV_EXCP to be FALSE.
这是一个Oracle数据库报错,意思是在NCHAR/CHAR之间转换数据时可能会丢失一些字符数据。官方解释是:当NCHAR或CHAR与其他不同字符集之间转换数据时可能会发生转换相关的错误ORA-12713。
常见的案例有:在执行ALTER SESSION语句时将不同字符集的数据转换为NCHAR/CHAR;在使用从NCHAR/CHAR数据类型的列列表时,可能会遇到这个错误。