MySQL error code: 1175 during UPDATE in MySQL Workbench

前端 未结 20 1291
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 09:58

I\'m trying to update the column visited to give it the value 1. I use MySQL workbench, and I\'m writing the statement in the SQL editor from inside the workben

20条回答
  •  旧巷少年郎
    2020-11-22 10:42

    SET SQL_SAFE_UPDATES=0;
    

    OR

    Go to Edit --> Preferences

    Click SQL Queries tab and uncheck Safe Updates check box

    Query --> Reconnect to Server

    Now execute your sql query

提交回复
热议问题