# 에러 메세지

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.


# 원인

Safe Update 모드 상태로 설정되어 있어서 UPDATE시 KEY 컬럼을 이용하지 않을 경우 업데이트할 수 없음.

 

# 해결방법

- Query

SET SQL_SAFE_UPDATES =0;


- Workbench 설정 

safe 모드 체크 해지




'프로그램 > - Sql' 카테고리의 다른 글

[Mysql] 문자열 합치기 CONCAT  (0) 2014.11.13
[Mysql] Update Select  (0) 2014.11.13
Ms-SQL ㄱㄴㄷ 가나다 검색  (0) 2013.05.08
MSSQL2008 튜닝 자료  (0) 2011.11.14
MS2008 로그확인 & 사이즈 축소  (0) 2011.11.14