UPDATE VOC_R
SET RWRITER = ? , RCONTENT = ? , to_char(sysdate, 'YYYYMMDDHH24MISS')
WHERE VOC_SEQ = ? ;
commit;
위 식에서 보면 날짜 변환한 값을 어디에 넣을지가 불 명확하다.
다음과 같이 바꿔주면 된다.
UPDATE VOC_R
SET RWRITER = ? , RCONTENT = ? , rwrite_date=to_char(sysdate, 'YYYYMMDDHH24MISS')
WHERE VOC_SEQ = ? ;
commit;
간단한건데 바보같이 했음
'Code 해결' 카테고리의 다른 글
This test checks whether the length of the environment variable "PATH" does not exceed the recommended length (0) | 2014.02.18 |
---|---|
오라클 한글 3바이트 (0) | 2014.02.15 |
org.springframework.beans.factory.CannotLoadBeanClassException: (0) | 2013.12.19 |
some characters cannot be mapped using "ISO-8859-1" character encoding (0) | 2013.12.10 |
import cannot be resolved (0) | 2013.12.10 |