SET SQL_SAFE_UPDATES = 0

09:30:52	update zjzc.ProductRepaymentPlan set settlementDate = '2015-06-05' where productSn = 87



	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.	0.016 sec




SET SQL_SAFE_UPDATES = 0;

update zjzc.ProductRepaymentPlan
set settlementDate = '2015-06-05'
where productSn = 87;

原文地址:https://www.cnblogs.com/hzcya1995/p/13351656.html