Oracle 参数 NLS_ISO_CURRENCY 官方解释,作用,如何配置最优化建议
1、NLS_ISO_CURRENCY参数:
NLS_ISO_CURRENCY参数可以用来指定在NLS会话中使用的ISO国际货币码,它将在某些函数,比如:TO_CHAR,TO_DATE,以及货币格式中被设置和使用。NLS_ISO_CURRENCY的值必须是符合ISO 3166国家/地区代码的货币码,该货币码用来在两个字母间放置下划线(例如:US_DOLLAR)。
2、如何正确设置NLS_ISO_CURRENCY参数:
a. 查询当前NLS_ISO_CURRENCY值
可以使用 show parameter nls_iso_currency 命令查询当前NLS_ISO_CURRENCY参数的值:
SQL show parameter nls_iso_currency
NAME TYPE VALUE
nls_iso_currency string USD
b. 修改NLS_ISO_CURRENCY值
可以使用 alter session set nls_iso_currency 命令修改NLS_ISO_CURRENCY参数的值::
SQL alter session set nls_iso_currency = US_DOLLAR
修改后可以再次查询确认其值,若为所需的值则表示修改成功:
SQL show parameter nls_iso_currency
NAME TYPE VALUE
nls_iso_currency string US_DOLLAR
NLS_ISO_CURRENCY determines the string to use as the international currency symbol corresponding to the C number format element in a call to the TO_CHAR function.
Local currency symbols can be ambiguous. For example, a dollar sign ($) can refer to U.S. dollars or Australian dollars. ISO Specification 4217 defines unique international currency symbols for the currencies of specific territories or countries. The value of the NLS_ISO_CURRENCY parameter is the Oracle name of the territory whose ISO currency symbol is returned in place of the C number format element. For example, if NLS_ISO_CURRENCY is set to AMERICA, the string USD is returned by TO_CHAR where the C element is specified in the format.
Note:
The value of this initialization parameter NLS_ISO_CURRENCY is used to initialize the session value of this parameter, which is the actual value referenced by the SQL query processing. This initial value is overridden by a client-side value if the client uses the Oracle JDBC driver or if the client is OCI-based and the NLS_LANG client setting (environment variable) is defined. The initialization parameter value is, therefore, usually ignored.
See Also:
Oracle Database
Globalization Support Guide for more information about this parameter
Oracle Database SQL
Language Reference for information on number format elements
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 参数 NLS_ISO_CURRENCY 官方解释,作用,如何配置最优化建议
相关文章
- Oracle中操作日期:一天的精彩.(oracle日期一天)
- Oracle 参数 GLOBAL_TXN_PROCESSES 官方解释,作用,如何配置最优化建议
- Oracle 参数 INMEMORY_OPTIMIZED_ARITHMETIC 官方解释,作用,如何配置最优化建议
- Oracle 参数 PLSQL_DEBUG 官方解释,作用,如何配置最优化建议
- Oracle 参数 SEC_MAX_FAILED_LOGIN_ATTEMPTS 官方解释,作用,如何配置最优化建议
- Oracle 等待事件 control file sequential read 官方解释,作用,如何使用及优化方法
- Oracle数据库系统:最佳实践指南(oracle哪本书好)
- 据库如何配置Oracle数据库连接?(配置oracle连接数)
- 配置Oracle最大并发数调整实践(oracle最大并发数)
- Oracle数据库服务器安装及配置(oracle需要配置)
- Oracle安装配置必知必会(oracle安装及配置)
- 灵活运用:Oracle触发器各种类型(oracle触发器类型)
- Oracle 启动文件配置及操作指南(oracle启动文件)
- 如何配置Oracle驱动?详细步骤解析!(配置oracle驱动)
- Oracle监听:配置步骤指南(oracle监听设置)
- Oracle官方帮助文档:让你体验自动化的便捷(oracle官方帮助文档)
- Oracle数据库中如何查询水位线(oracle查询水位线)
- Oracle关闭自动换行一劳永逸(oracle关闭自动换行)
- 使用Oracle注册表正确配置C语言开发环境(c oracle注册表)
- Oracle数据库上下游关联判断研究(oracle上下游判断)
- Oracle Les01学习初步,掌握基础知识(oracle les01)