안녕하세요
에러문제가 발생해서 문의 드립니다
unisql ver. v4.0k
os : sunOS v5.7
uniCAS : v4.5
server : netscape iPlanet Web Server v4.1
주 사용 언어 : tcl
사양은 위와 같습니다
좀 오래된 사양이죠^^
문제는 한군데에서 일어나는 일입니다
Content-type: text/html
Error Code : -670
Error Message : Operation would have caused one or more unique constraint violations.
Error Last_Command : uw_exec_sql "insert into sample_master values(580,4,1,'asdsda')"
위와 같은 에러메세지를 출력하고 있습니다
insert 할 테이블의 세부내용은
<Class Name>
sample_master
<Attributes>
survey_id : numeric(6,0) NON_NULL
question_id : integer NON_NULL
sample_id : integer NON_NULL
description : character varying(1024)
<Constraints>
UNIQUE(survey_id,question_id,sample_id) : u_sample_master(survey_id,questio
n_id,sample_id)
위와 같습니다
이부분에서 survey_id, question_id, sample_id를 모두 다르게....
현재 테이블에 전혀 없는 다른 값을 넣어도 계속 에러가 나고 있습니다
데이터 할당 용량은 충분하고요
같은 스키마의 다른 테스트 클래스를 만들어서 입력을 해보면 입력이 잘 되
있습니다
또 위의 내용을 검색이나 보기 기능은 모두 잘 되고 있습니다.
수정이나 입력 부분에서만 에러가 나고 있네요
쿼리를 직접 입력해도 그렇고 웹 상에서도 그렇고
어제 오후까지만 해도 잘 됬거든요..
뭐가 문제일까요?
좀 두서없이 마구 적어서 보기 힘드시겠지만
답변 기다리겠습니다
더 알려드려야 할 사항이 있다면 말씀해 주십시오.
그럼....오늘 하루도 기분좋게 마무리 하시기 바랍니다.
|