在syscharsets表中可以看到cp850字符集,如下:
name id
------------------------------ ---
ascii_8 0
iso_1 1
cp850 2
cp437 3
roman8 4
mac 5
defaultml 20
thaidict 21
iso14651 22
utf8bin 24
binary 25
altnoacc 39
altdict 45
altnocsp 46
但是用sp_configure "default character set id",2更改字符集为cp850时,系统报错如下:
1>; sp_configure "default character set id",2
2>;
3>; go
Msg 5824, Level 16, State 4:
Server 'shang', Procedure 'sp_configure', Line 695:
Cannot reconfigure server to use sort order ID 25, because the row for its
underlying character set (ID 2) does not exist in syscharsets.
(return status = 1)