使用sa用户进行数据库登陆时出现字符集不匹配的问题 Msg 2401, Level 11, State 2: Server 'LCDACS_SERVER': Character set conversion is not available between client character set 'utf8' and server character set 'iso_1'. No conversions will be done. 解决办法是: 把”enable unicode conversions”参数设置为1或者2。当配置为1时,此设置使用直接转换或Unicode转换; 当配置为2时,此设置使用Unicode转换;默认配置值为0,使用直接转换。 在isql环境中执行: 1>; sp_configure ”enable unicode conversions”,1 2>; go 均是用sa用户登陆 附:字符集转换禁用 禁用字符集转换的配置方法 在isql环境中执行: 1>; sp_configure “disable character set conversion”,1 2>; go “disable character set conversion”参数默认配置值为0,即启用字符集转换。
转载于:https://www.cnblogs.com/Mingers/archive/2012/09/28/2707287.html