NLS (National Language Support) is used to define national date, number, currency and language settings. For example, it can be used to change the currency symbol from $ to € (Euro); the language from English to Dutch, etc.sql
To see what NLS parameters are in effect, perform the below queries -windows
Client parameters (change with ALTER SESSION):服務器
SELECT * FROM nls_session_parameters;## 優先級最高
Instance parameters (change with ALTER SYSTEM):session
SELECT * FROM nls_instance_parameters;## 優先級第二高
Database parameters (set during database creation):測試
SELECT * FROM nls_database_parameters;
Note that session parameters take precedence over instance and database parameters. Instance parameters take precedence over database parameters.字體
參考了博文 編碼
NLS_LANG格式:
NLS_LANG = language_territory.charset
有三個組成部分(語言、地域和字符集),每一個成分控制了NLS子集的特性。其中:language 指定服務器消息的語言。territory 指定服務器的日期和數字格式。charset 指定字符集。spa
須要修改location和administrative 下面的language for non-unicode programs