update modulepro set emergency=1 where (select fcid,line,product,emergency from modulepro where FCID='3' and SO='3' and Product='eq2' and Line='2' and emergency=0)
에러가 납니다
빠른 답변 기다리겠습니다...
by 마농
[2017.01.02 17:07:45]
UPDATE modulepro
SET emergency = 1
WHERE FCID = '3'
AND SO = '3'
AND Product = 'eq2'
AND Line = '2'
AND emergency = 0
;
by 윤형
[2017.01.02 17:13:03]
서브쿼리를 생각했는데 전혀 엉뚱한 방향이었네요... 맙소사; 감사합니다!
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.