목록ErrorCode 1175 (1)
오늘도 한 뼘 더

# 배경 회사에서 데이터 관련 작업을 진행하는데 update문을 작성하는 중 workbench에서 다음과 같은 에러가 뜨고 실행되지 않는 문제가 발생했다. 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. # 해결 방법 작동하려고 한 코드 update item set quantity=0 where quantity is null; 1) 일시적으로 safe update를 해제시키는 방법 다음 코드..
Study/MySQL
2022. 4. 1. 10:12