当前位置:网站首页>Gbase8s database restrictions on set collection
Gbase8s database restrictions on set collection
2022-07-22 18:10:00 【Like to eat radish ice cold】
although SET COLLATION Enables you to dynamically change the comparison order of the database server within the session , But you should understand that
SET COLLATION Several limitations of the scope in which statements can work .
Only the comparison performed by the database server is affected . Client processes that sort data are not affected SET COLLATION shadow
ring .
Only the current session is affected . Other conversations are not affected by your SET COLLATION The direct impact of the statement , But the database server
Servers will use their creation time comparison order to set any database objects , These database objects are what you have successfully
Running smoothly SET COLLATION Those created later .
Changes to the collation order do not change the code set . The database server usually uses DB_LOCALE Specified code
Set .
Only in locale specific order NCHAR and NVARCHAR Value to sort .
Handle characters from different code sets
because SET COLLATION Only change the comparison order , Not the current locale or code set , Therefore, you should not use this
Statement to insert character data from different locales into the same database . If the database needs to store data from two or
Multilingual characters , These languages inherently require different code sets or code pages , Then you must use support instead Unicode
Language environment of . about GBase 8s ESQL/C application , And for using GBase 8s GLS Other client applications of the Library ,
Its locale supports UTF-8 The character encoded database can store codes corresponding to different character sets from multiple natural languages
Character of dot , But only if all the following conditions are met :
When the database server instance starts , Set up GL_USEGLU The environment variable is 1.
When creating a database , Set up DB_LOCALE The environment variable is valid Unicode Language environment .
Set up CLIENT_LOCALE The environment variable is... Of the database server DB_LOCALE Set the supported valid
Unicode Language environment .
about GBase 8s To use “Unicode International components of ”(ICU)4.8.1 Library to support up to 6.0 Of Unicode Edition
Ben , Before starting the server , In the server environment GL_USEGLU The environment variable is set to a value 1( One ). Making
use UTF-8 Character encoded database , This setting initializes enabling Unicode Control and SQL Those conversion rules of operation ,
Include Chinese GB18030-2000 Code set . This conversion is only applicable to GL_USEGLU=1 Created data
library .
Be careful : However ,GL_USEGLU Environment variables are important to JDBC The client application does not work , Include GBase 8s JSON Compatibility
Line protocol listener Those applications . To be in Unicode Correctly support JDBC application , Not on the client
Or in the server environment GL_USEGLU Set to 1 The requirements of
边栏推荐
猜你喜欢
web3分享
Bigder:38/100 a misoperation problem has been solved
Use of bullets in object pool mode in aircraft war
Deep learning (II) takes you to understand neural networks and activation functions
【案例分享】配置IS-IS的路由渗透功能
Dokcer运行Nacos容器自动退出问题
Computer Graphics From Scratch - Chapter 4
异常的理解学习
Aruba学习笔记04-Web UI --Configuration面板介绍
Rk3399 platform development series explanation (alsa subsystem) 4.37, alsa driven framework
随机推荐
Go FMT package details
vscode 安装 tools失败
GBase8s数据库由数据库对象执行的对照
Physical layer of network
JS to determine whether the linked image exists
GBase8s数据库对 SET COLLATION 的限制
Methods of downloading literature from IEEE
17、 C function pointer and callback function
The problem of the result set returned by MySQL stored procedure
从0开始教你编写Makefile文件
力扣练习——29 按要求补齐数组
Distributed (I) what is sacred about distributed systems, base and cap?
如何破解IT中年危机下的惨淡人生
Calculate deposit interest
[case sharing] configure the routing penetration function of IS-IS
Excel导入导出Controller
Teach you to write makefile files from 0
Gbase8s database union operator
GBase8s数据库以 SET COLLATION 指定对照顺序
力扣练习——27 翻转矩阵后的得分