首页 > 技术文章 > mysql 不是主键不能删除的保护问题解决办法?

dullbaby 2016-08-18 09:53 原文

 
 select * from t_answerexams;
 
 
 delete from  t_answerexams  where  selectid = 'c4582502-8b27-44ee-83c5-e5ba46758905';
 
 
 SET SQL_SAFE_UPDATES = 0; 
 

推荐阅读