简体   繁体   English

Oracle的NCHR()函数在不同平台上的行为有所不同。 怎么修?

[英]Oracle's NCHR() function is behaving differently across platforms. How to fix?

I am encountering an issue with some Oracle code which uses the NCHR function. 我遇到了一些使用NCHR函数的Oracle代码问题。 The same code is running on Windows/Ora10g and Linux/Ora11g, yet it behaves differently. 相同的代码在Windows / Ora10g和Linux / Ora11g上运行,但是行为不同。

The NLS characterset is identical on both instances. NLS字符集在两个实例上都是相同的。

I am trying to determine if this is an issue with Oracle versions or because of the OS. 我正在尝试确定这是Oracle版本的问题还是操作系统问题。

Has anyone encountered this before? 有人遇到过吗? If so, how do I fix? 如果是这样,我该如何解决?

NCHR in Oracle documentation The outcome of NCHR does not depend on the database NLS characterset. Oracle文档中的NCHR NCHR的结果不依赖于数据库NLS字符集。 It depends on the client NLS characterset. 这取决于客户端NLS字符集。 The default client NLS_LANG setting on windows set by installer is different than linux. 安装程序在Windows上设置的默认客户端NLS_LANG设置与linux不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM