- 论坛徽章:
- 0
|
我在LOAD的过程中提示排序不正确问题
查询后果然不对,但修改排序却不生效,重起了N次,还是一样的不生效。我是WINDOWS系统。
1> sp_helpsort
2> go
Collation Name Collation ID
------------------------------ ------------
altdict 45
altnoacc 39
altnocsp 46
binary 25
cyrnocs 64
defaultml 20
dict 51
elldict 65
espdict 55
espnoac 57
espnocs 56
hundict 69
hunnoac 70
hunnocs 71
iso14651 22
noaccent 54
nocase 52
nocasep 53
rusnocs 59
scandict 47
scannocp 48
thaidict 21
turknoac 73
turknocs 74
utf8bin 24
Loadable Sort Table Name Collation ID
------------------------------ ------------
cp932bin 129
cyrdict 140
dynix 130
eucjisbn 192
euckscbn 161
gb2312bn 137
gbpinyin 163
rusdict 165
sjisbin 179
turdict 155
big5bin 194
Sort Order Description
------------------------------------------------------------------
Character Set = 190, utf8
Unicode 3.1 UTF-8 Character Set
Class 2 Character Set
Sort Order = 163, gbpinyin
Chinese phonetic ordering
(return status = 0)
---------------------------------------------
1> sp_helpsort
2> go
Collation Name Collation ID
------------------------------ ------------
altdict 45
altnoacc 39
altnocsp 46
binary 25
cyrnocs 64
defaultml 20
dict 51
elldict 65
espdict 55
espnoac 57
espnocs 56
hundict 69
hunnoac 70
hunnocs 71
iso14651 22
noaccent 54
nocase 52
nocasep 53
rusnocs 59
scandict 47
scannocp 48
thaidict 21
turknoac 73
turknocs 74
utf8bin 24
Loadable Sort Table Name Collation ID
------------------------------ ------------
cp932bin 129
cyrdict 140
dynix 130
eucjisbn 192
euckscbn 161
gb2312bn 137
gbpinyin 163
rusdict 165
sjisbin 179
turdict 155
big5bin 194
Sort Order Description
------------------------------------------------------------------
Character Set = 190, utf8
Unicode 3.1 UTF-8 Character Set
Class 2 Character Set
Sort Order = 50, bin_utf8
Binary sort order for the ISO 10646-1, UTF-8 multibyte encodin
g character set (utf .
(return status = 0)
这2个排序不一样,
我用
sp_configure "default sortorder id",163
来改
1> sp_configure "default sortorder id",163
2> go
You have just reconfigured ASE's default sort order. System table indexes will
be rebuilt when you reboot ASE.
Parameter Name Default Memory Used Config Value
Run Value Unit Type
------------------------------ ----------- ----------- ------------
------------ -------------------- ----------
default sortorder id 50 0 163
50 id static
(1 row affected)
Configuration option changed. Since the option is static, Adaptive Server must
be rebooted in order for the change to take effect.
Changing the value of 'default sortorder id' to '163' reduces the amount of
memory ASE uses by 8 K. The reduced memory may be reused when this configure
value changes, but will not be released until ASE restarts.
(return status = 0)
重起了怎么没有用呢? |
|