当前位置:网站首页>GBase8s数据库SET COLLATION 语句
GBase8s数据库SET COLLATION 语句
2022-07-22 07:55:00 【爱吃萝卜冰冰凉】
使用 SET COLLATION 语句来指定该会话的新的对照顺序,取代通过 DB_LOCALE 环境变量设
置暗示的对照。SET NO COLLATION 恢复缺省的对照。
用法
SET COLLATION 语句是对 SQL 的 ANSI/ISO 标准的扩展。您可随同 GBase 8s ESQL/C 使用此
语句。
如同 GBase 8s GLS 用户指南 所解释的那样,数据库服务器使用语言环境文件来指定字符集、对照
顺序和显示与操作字符串级其他数据值的一些自然语言的其他约定。数据库语言环境的对照顺序是
数据库服务器据其对字符串排序的次序顺序。
如果您未设定 DB_LOCALE 的值,则基于 United States English,对于 UNIX 的缺省的语言环
境为 en_us.8859-1 ,对于 Windows 系统的语言环境为 Code Page 1252 。否则,数据库服务器
使用 DB_LOCALE 设置作为它的语言环境。在运行时,对于在同一会话中先前访问的所有数据库
服务器,SET COLLATION 语句覆盖 DB_LOCALE 的对照顺序。
对于余下的会话,该新对照顺序保持有效,或直到您发出另一 SET COLLATION 语句为止。不影
响其他的会话,但您以非缺省的对照创建的数据库对象使用在他们创建时有效的任何对照顺序。
在缺省情况下,对照顺序是代码集顺序,但有些语言环境还支持特定的语言环境顺序。在大多数上
下文中,仅 NCHAR 和 NVARCHAR 数据值可根据特定于语言环境的对照顺序存储。
边栏推荐
- Install vscode offline
- Prepare for the attack and defense drill. Here is a security deployment map of Tencent!
- 【HMS core】【push kit】关于消息分类问题的集合
- Pointeur de fonction C et fonction de rappel
- 阿我就是舅舅卡空间
- 秒杀实现图
- Pytoch implements word2vec
- How is VR panorama displayed in all walks of life? How to implement the application?
- go 切片,集合简单讲解
- 使用 Abp.Zero 搭建第三方登录模块(四):微信小程序开发
猜你喜欢
[cloud native] docker deployment database persistence
[FPGA tutorial case 35] communication case 5 - 16QAM modulation signal generation based on FPGA, and its constellation is tested by MATLAB
【HMS core】【Health Kit】【FAQ】数据订阅功能问题合集
How to carry out efficient data governance? Index management and data traceability help!
[how to optimize her] teach you how to locate unreasonable SQL? And optimize her~~~
How Allegro imports pictures such as high-definition logo, QR code, anti-static logo and Chinese characters
Rk3399 platform development series explanation (memory chapter) 15.33. Why does the available memory far exceed the physical memory?
web3分享
异常的理解学习
Zabbix5.0.8-ODBC监控oracle11g
随机推荐
JS String charAt substring() substr slice toUpperCase toLowerCase indexOf
力扣练习——32 划分为k个相等的子集
Unity旋转测试
所有navicat版本都支持MySQL吗,为什么我打开连接不上呢?
impdp content=data_ Only can you choose to skip or overwrite when there are records?
QWidget添加右键菜单
逻辑回归(公式推导+numpy实现)
MySQL约束
Evolution of multi activity in different places
Understanding and learning of arrays class
力扣练习——31 有效的井字游戏
[FPGA tutorial case 35] communication case 5 - 16QAM modulation signal generation based on FPGA, and its constellation is tested by MATLAB
How is VR panorama displayed in all walks of life? How to implement the application?
数据湖(十八):Flink与Iceberg整合SQL API操作
(11) 51 Single Chip Microcomputer -- realize the storage of stopwatch data with AT24C02 (attached with achievement display)
[HMS core] [push kit] set of message classification problems
十七、C函数指针与回调函数
How does boss direct hire write an excellent resume?
postgreSQL数据库部署在linux服务器上,本机查询ms级,用windows上安装的pgadmin查询超级慢20s左右,是网络的问题还是数据库配置问题?
分布式(一)分布式系统,BASE,CAP是何方神圣?