1、oracle 报错ORA-12704:字符集不匹配
描述:做union 或 union all时报错
解释:字符串不匹配
解决方案:1、to_char() to_char(cast('中国' as nvarchar2(10)))
2、用N' ',N''是将‘’转换为Unicode编码,对字符串有用。
select userenv ( 'language' ) from dual;
ALTER SESSION SET NLS_LANGUAGE=’SIMPLIFIED CHINESE’;