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