Mysql字符集问题咨询

司徒春运 发布于 2011/08/13 17:21
阅读 258
收藏 0

对于下面的内容,插入时出现错误。

  •  内容1:”@1626潮流双周刊:#CROWNinc×1626.com#STAYREAL 2011 春夏联名大企划即将登场, 2011夏天,STAYREAL决定和Hello Kitty一起组建Rock Band,和Kitty一起Rock'n Roll!用STAYREAL的热情创意呈现出Kitty最Rock的一面。@CROWNinc官方微博 更多详情: http://t.cn/a8OvlK 8月5日 16:30 来自皮皮时光机 转发(142) | 评论(48)“
  • You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'n Roll????STAYREAL?????é??????????Kitty×?Rock????????@CROWNinc??·????? ?ü?à?ê?é?' at line 1
  • 内容2://@周冠grace:you'll have to cry me out!The tears that'll fall mean nothing at all,there's no way back,i'm walking away......
  • Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'll have to cry me out!The tears that'll fall mean nothing at all,there's no way ' at line 1

这是和字符集有关的问题吗?

加载中
0
红薯
红薯
无关哦
0
Andre.Z
Andre.Z
你是组合sql语句字符串的吧。用 PreparedStatement 。
0
阿咪
阿咪
sql语句没有拼接好吧
返回顶部
顶部