sybase大小写敏感

C:\>isql -Usa Password -SSY
1> sp_configure "default sortorder id",171
2> go

执行后重启服务两次,就可以了。

 


字符集为cp936时,步骤如下:

1、拷贝iso_1字符集下的nocase.srt文件到cp936目录下

2、修改nocase文件:
class = 0×01 ; Class `1′ sort order
id = 0xe4 ; Unique ID # (228) for the sort order
name = nocase_cp936 ; chinese, case-insensitive
menuname = “Dictionary order, case insensitive.”
charset = cp936
preference = false ; Do not use preference

3、加载排序文件
charset -Usa -P -Sase107 nocase.srt cp936

4、修改数据库缺省排序
sp_configure "default sortorder id",228

5、重启数据库两遍即可

6、查看一下是否修改成功?

如果如图所示表示,修改没成功,然后我们选中“Dictionary order, case insensitive”,点击“确定”、保存,重启服务即可(这里操作步骤参照字符集为cp850)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值