GoDaddy的MSSQL数据库乱码解决办法

解决办法:

在要插入的中文字符的引号前加N

如:

insert into theme(name,about)   values(’pusu’,’ 美国主机专家’);
而要想在英文版的sql server中不乱码,就必须
insert into theme(name,about)   values(’pusu’,N’ 美国主机专家’);


Comments are closed