(2) 查看当前使用的缺省字符集 sp_configure default char go Parameter Name Default Memory Used Config Value Run Value Unit Type ------------------------------ ----------- ----------- ------------ ----------- -------------------- ---------- default character set id 2 0 2 2 id static
(5) 把系统的当前缺省字符集设置为cp936 sp_configure default char,171 go In changing the default sort order, you have also reconfigured SQL Server's default character set. Parameter Name Default Memory Used Config Value Run Value Unit Type ------------------------------ ----------- ----------- ------------ ----------- -------------------- ---------- default character set id 2 0 171 2 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 character set id' to '171' increases the amount of memory ASE uses by 6 K. (return status = 0)