NLS_LANG parameter setting
来源:互联网 发布:snip mac 编辑:程序博客网 时间:2024/06/05 02:30
最近改了一个Procedure 里面含有葡萄牙语,结果compile procedure后库中总是显示不对。这是因为我们有一个环境变量NLS_LANG没有设置对的缘故。
solution:
在linux端设置:setenv NLS_LANG PORTUGUESE_PORTUGAL.WE8MSWIN1252
同时在oracle sqldeveloper client端要设置:tools->preference->Database->NLS->PORTUGUESE
After the above steps, compile the procedure then you will find out that the procedure display correctly.
About NLS_LANG Parameters
Oracle provides Globalization Support that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle Database Client components, Oracle Universal Installer sets the NLS_LANG parameter in the registry.
The locale setting of your operating system determines the value of the NLS_LANG parameter at installation. Table B-1 lists the operating system locale and NLS_LANG value mappings.
The NLS_LANG parameter is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG subkey, where ID is the unique number identifying the Oracle home.
The NLS_LANG parameter uses the following format:
NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET
for the NLS_LANG parameters values you can refer to below link
Commonly Used Values for NLS_LANG
- NLS_LANG parameter setting
- nls_lang
- nls_lang
- NLS_LANG
- Setting parameter value for binding with code
- 关于字符集中NLS_LANG参数show parameter nls 和v$nls_parameter 中的值不一样
- QTP,在代码中调用Setting中的Parameter
- Mybatis报了Error setting null parameter问题解决
- QTP,在代码中调用Setting中的Parameter .
- Error setting null for parameter #10 with JdbcType OTHER .
- Error setting null for parameter #10 with JdbcType OTHER .
- org.springframework.jdbc.UncategorizedSQLException: Error setting null parameter.
- Error setting null for parameter #10 with JdbcType OTHER .
- Error setting null for parameter #5with JdbcType OTHER
- Error setting null for parameter #2 with JdbcType OTHER
- Error selecting key or setting result to parameter object. Cause
- 132 Examine the parameter setting in your database: SQL> SHOW PARAMETER TARGET NAME TYPE VALUE -----
- NLS_LANG环境变量
- RecyclerView的简单使用
- iOS开发——MBProgressHUD
- C Primer Plus6-6
- 【Android应用界面编程】-----ExpendableListView
- spring mvc中,如何在 Java 代码里,获取 国际化 内容
- NLS_LANG parameter setting
- C Primer Plus6-7
- C Primer Plus6-8
- CSS-Day03-CSS样式-字体
- 关于redis集群的一些事
- 强引用、软引用、弱引用、虚引用
- include-filter和exclude-filter的区别
- C Primer Plus6-9
- Oracle数据库易遗漏的知识点(二)