【问题标题】:Diffenrence between NLS_UPPER and UPPERNLS_UPPER 和 UPPER 的区别
【发布时间】:2013-09-26 12:41:53
【问题描述】:

我是 PL/SQL 语言的新手。我看到PL/SQL 中有两个函数:UPPERNLS_UPPER。他们都做同样的事情。我想知道这些功能之间的区别。谢谢

【问题讨论】:

标签: oracle plsql oracle11g


【解决方案1】:

NLS_UPPER 了解特定于语言环境的规则

这个查询:

select nls_upper('ß', 'NLS_SORT = XGerman') as upper1, 
       upper('ß') as upper2
from dual;

返回以下内容:

UPPER1 | UPPER2 --------+------- 不锈钢 | ß

看到区别了吗?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-09
    • 1970-01-01
    • 1970-01-01
    • 2016-10-12
    • 2022-01-13
    • 1970-01-01
    相关资源
    最近更新 更多