首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

query.exec("set names utf8") 这是啥意思,该怎么处理

2012-08-13 
query.exec(set names utf8) 这是啥意思如题:请问:query.exec(set names utf8) 这行是啥意思,写不写有

query.exec("set names utf8") 这是啥意思
如题:
请问:query.exec("set names utf8") 这行是啥意思,写不写有什么区别。
解释详细点。3Q

[解决办法]
mysql设定字符集的语句,不设定可能会导致乱码之类的。

热点排行
Bad Request.