VARCHAR2를 CLOB으로 변경1 Oracle에서 VARCHAR2 컬럼을 CLOB으로 변경하기 VARCHAR2(4000) 으로 사용하던 컬럼에 데이터를 더 많이 저장할 필요가 생겨서 CLOB 타입으로 변경하려고 합니다. ALTER 명령으로 바로 변경하려면 에러가 발생합니다. ALTER TABLE table_name MODIFY (CONTENTS CLOB) 오류 보고 - ORA-22858: 데이터유형의 변경이 부적당합니다 22858. 00000 - "invalid alteration of datatype" *Cause: An attempt was made to modify the column type to object, REF, nested table, VARRAY or LOB type. *Action: Create a new column of the desired type and copy the .. 2018. 4. 20. 이전 1 다음