查看oracle字符集
程序员文章站
2022-08-19 18:35:05
#查看字符集select userenv('language') from dual; select * from V$NLS_PARAMETERS; SELECT * FROM NLS_DATABASE_PARAMETERS where parameter='NLS_CHARACTERSET'; ... ......
#查看字符集
select userenv('language') from dual;
select * from v$nls_parameters;
select * from nls_database_parameters where parameter='nls_characterset';
默认是us7ascii 但是官方建议al32utf8 虽然空间耗费多点
我们公司edp用的是american_america.zhs16gbk
解决中文乱码
设置linux的环境变量
export nls_lang=american_america.zhs16gbk
https://www.cnblogs.com/buxingzhelyd/p/8670161.html