当前位置:首页 - SQL

SQL Insert 或 Update 字段后中文变 "?"

作者:高景洋 日期:2014-11-26 14:07:59 浏览次数:3340

SQL Insert 或 Update 字段后中文变 "?"


解决方法:

update TableName

set TableField=N'编程经验网'

where ID=888


在值前加 “N” 表示中文
本文永久性链接:
<a href="http://r4.com.cn/art59.aspx">SQL Insert 或 Update 字段后中文变 "?"</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 18.189.170.17 X-Real-Ip: 18.189.170.17 X-Domain: r4.com.cn X-Request: GET /art59.aspx HTTP/1.1 X-Request-Uri: /art59.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)