当前位置:首页 > 开发 > 数据库 > 正文

You have an error in your SQL syntax; check the manual that corresponds to your

发表于: 2014-10-23   作者:林鹤霄   来源:转载   浏览:
摘要: 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 'option,changed_ids  ) values('0ac91f167f754c8cbac00e9e3dc372

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 'option,changed_ids  ) values('0ac91f167f754c8cbac00e9e3dc3721d','1','modify','4a' at line 1

 

出现这个问题我一直在找我的sql哪儿写的不合适,,结果是,,表中有一个字段名为option。option是数据库的关键字段。所以不能用。

You have an error in your SQL syntax; check the manual that corresponds to your

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your
执行: create table hsnl_db.hsnl_resource( res_id int not null primary key auto_increment, re
操作前先备份脚本文件: 找到sql脚本并执行(这里以aaa.sql为例) sed -i 's/type=MyISAM/ENGINE=My
错误原因一:SQL关键字冲突 分析:例:把desc命名为字段名 错误原因二:$right=$DB->fetch_one_a
Let me start with a bit of background. “20/20 Vision” is a popular western term to describe
参考:http://www.upenn.edu/computing/help/doc/email/popup.html#IE8 上http://glovis.usgs.gov/
安装php时的报错 checking libxml2 install dir... no checking for xml2-config path... configure
AutoInvoice运行报错,查看RA_INTERFACE_ERRORS_ALL,SELECT Message_text FROM RA_INTERFACE_ERROR
AutoInvoice运行报错,查看RA_INTERFACE_ERRORS_ALL,SELECT Message_text FROM RA_INTERFACE_ERROR
参考这篇《从ASP.NET传递参数给水晶报表》 http://www.cnblogs.com/insus/p/3281114.html 是可以传
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号