[Oracle_Error] PLS-00103 Encountered the symbol "MK_P_PRODUCTIMG" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "MK_P_PRODUCTIMG" to continue.
·
Trouble Shooting(Error)
에러메시지 : PLS-00103 Encountered the symbol "MK_P_PRODUCTIMG" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "MK_P_PRODUCTIMG" to continue. 원인 : 저장프로시저 안에서 저장프로시저를 호출할 때 EXEC 저장프로시저명; 으로 선언하여 프로시저명을 기호로 인식 해결 : EXEC를 빼고 저장프로시명만 선언 BEGIND EXEC MK_P_PRODUCTIMG(seq_mk_product_code.currval, pPATH); END; BEGIND MK_P_PRODUCTIMG(seq_mk_product_code.currval, pPATH); E..
[Oracle_Error] ORA-12899: value too large for column "SCOTT"."DEPT"."DNAME" (actual: 18, maximum: 14)
·
Trouble Shooting(Error)
- 에러 메시지 : ORA-12899: value too large for column "SCOTT"."DEPT"."DNAME" (actual: 18, maximum: 14) - 발생 원인 : dname에 들어가는 값이 너무 크다. 한글은 1문자에 3바이트라서 6글자는 18바이트 - 해결 : 값을 다른 것으로 바꾸거나 지정된 자료형의 크기를 바꾼다.
[Oracle_Error] ORA-00001: unique constraint (SCOTT.PK_DEPT) violated
·
Trouble Shooting(Error)
에러 메시지 : ORA-00001: unique constraint (SCOTT.PK_DEPT) violated 해석 : 이미 고유한 키값인 부서번호 40이 존재한다. unique - 유일성 constraint - 제약조건 PK = Primary Key(고유한 키값) violated - 위배 해결 : 고유한 키값과 중복되지 않는 값으로 추가하기
[Oracle_Error] ORA-01438: value larger than specified precision allowed for this column
·
Trouble Shooting(Error)
에러 메시지 : ORA-01438: value larger than specified precision allowed for this column 발생 이유 : 컬럼값에 지정된 정밀도 값보다 더 큰 값이 들어왔다. 해결 : 테이블 구조를 확인해서 지정된 정밀도 값 확인 후 지정된 정밀도 값을 변경 또는 값을 지정된 정밀도 값에 맞게 집어넣기 ex) 이름 널? 유형 ------ -------- ------------ DEPTNO NOT NULL NUMBER(2) null값 X 필수로 입력되어져야 한다. 2자리 숫자 DNAME VARCHAR2(14) 14바이트 문자열 LOC VARCHAR2(13) 13바이트 문자열 INSERT INTO dept (deptno, dname, loc) VALUES (100, '..