【发布时间】:2014-09-10 14:27:46
【问题描述】:
我正在使用 MySQL WORKBENCH 6.1.6。我需要更新我的 database_table。我尝试了以下编码:
UPDATE `test`.`festexplorer_users`
SET
User_preference = 'All_Over_India'
WHERE User_year_of_passing=2015;
这里,“test”是我的数据库名称,festexplorer_users 是我的表名,我需要更新 User_preference 列。我收到以下错误。
Error Code: 1175. You are using safe update mode and you tried to update a table without a
WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL
Queries and reconnect.
如何清除我的错误?
【问题讨论】:
-
哦...我明白了...谢谢您的回复
-
@MukulBhardwaj 我已经清除了有关该错误的所有疑虑......感谢您的回复