#查看字元集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