将 null 更新为非 null
我有一个链接,如果 Ser 单击它应该将空字段更新为非空,但我得到
第 3 行'delete ='NOT NULL' where ThirdPartyCategoryID=29' 附近出现 1064 mysql 错误
这是我的查询
ALTER table thirdpartycategorymaster Modify delete char(1) NOT NULL
我哪里出错了?
I have a link if ser clicks it should update null field to not null but i am getting
1064 mysql error near 'delete ='NOT NULL' where ThirdPartyCategoryID=29' at line 3
This is my query
ALTER table thirdpartycategorymaster Modify delete char(1) NOT NULL
where am i going wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
删除是保留字,因此您需要使用括号
或标识符引号字符反引号(“`”)
看看 架构对象名称
Delete is a reserved word, so you need to use either brackets such as
or identifier quote character backtick (“`”)
Have a look at Schema Object Names