mysql update 報錯

> 問題描述

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 Editor and reconnect.    0.000 sec

> 軟件:Mysql Workbench

```

update table set type=type*3 where type<10

```

原因:where 條件中應包含主鍵。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章