gpt4 book ai didi

mysql - 执行删除时总是出现此错误

转载 作者:行者123 更新时间:2023-11-29 06:41:42 25 4
gpt4 key购买 nike

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 'Lock ' at line 171"

我认为这是因为“Lock”是一个保留字,但我在我的表中使用了它。

那么如何克服这个问题。

最佳答案

使用反引号来引用保留字。

`lock`

关于mysql - 执行删除时总是出现此错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21085492/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com