Essaycode
update email_content  set Content = replace(Content ,\'001.11\',\'002.22\')	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 Editor and reconnect. 0.031 secfan\'s  

方式一

  1、show variables like ‘SQL_SAFE_UPDATES’;查看开关状态。

  2 、SET SQL_SAFE_UPDATES = OFF;

  3、update email_content set Content = replace(Content ,\'001.11\',\'002.22\'); //批量更新email_content的Content字段内容中001.11为002.22

  4、记得更新后:SET SQL_SAFE_UPDATES = ON;

 

方式二

    

 

分类:

技术点:

相关文章:

  • 2021-08-10
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2021-09-23
猜你喜欢
  • 2022-02-03
  • 2022-12-23
  • 2021-11-30
  • 2021-08-12
  • 2021-12-21
  • 2021-10-04
相关资源
相似解决方案