반응형
"ORA-12899: value too large for column string (actual: string, maximum: string)
" 에러 해결 방법
ORA-12899Cause:
- An attempt was made to insert or update a column with a value which is too wide for the width of the destination column. The name of the column is given, along with the actual width of the value, and the maximum allowed width of the column. Note that widths are reported in characters if character length semantics are in effect for the column, otherwise widths are reported in bytes.
ORA-12899 원인:
- 대상 열의 너비에 비해 너무 넓은 값을 가진 열을 삽입하거나 업데이트하려고 했습니다. 열의 이름은 값의 실제 너비 및 열의 최대 허용 너비와 함께 제공됩니다. 문자 길이 의미가 열에 적용되는 경우 너비는 문자로 보고되고, 그렇지 않은 경우 너비는 바이트로 보고됩니다.
ORA-12899 Action:
- Examine the SQL statement for correctness. Check source and destination column data types. Either make the destination column wider, or use a subset of the source column (i.e. use substring).
ORA-12899 조치:
- SQL문이 올바른지 조사하십시오. 소스 및 대상 열의 데이터 유형을 확인하세요. 대상 열을 더 넓게 만들거나 소스 열의 하위 집합을 사용하십시오(예: 하위 문자열 사용).
ORA-12899 해결 :
- 컬럼 사이즈 30에서60으로 변경
- SUBSTR
반응형
'Oracle > ORA-' 카테고리의 다른 글
ORA-38824: CREATE OR REPLACE 명령이 기존 객체의 EDITIONABLE 속성을 변경할 수 없습니다. (0) | 2023.05.13 |
---|---|
ORA-01403: 데이터를 찾을 수 없습니다(INTO절에서) (0) | 2023.05.13 |
ORA-30926: 원본 테이블의 고정 행 집합을 가져올 수 없습니다 (0) | 2023.01.14 |
ORA-06504: PL/SQL: Result Set 변수 또는 질의의 리턴 유형이 일치하지 않습니다 (0) | 2023.01.14 |
ORA-01779: 키-보존된것이 아닌 테이블로 대응한 열을 수정할 수 없습니다 (0) | 2023.01.14 |