gpt4 book ai didi

oracle - NLS_UPPER 和 UPPER 的区别

转载 作者:行者123 更新时间:2023-12-04 14:01:38 25 4
gpt4 key购买 nike

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

最佳答案

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

这个查询:

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

返回以下内容:

UPPER1 | UPPER2
-------+-------
SS | ß

看到不同?

关于oracle - NLS_UPPER 和 UPPER 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19028604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com