다른 DBMS/Tibero
[에러해결]TBR-10018 Partition key does not map to a partition.
취미툰
2021. 1. 4. 09:24
반응형
TBR-10018 Partition key does not map to a partition.
* desc: Partition key does not map to a partition.
* cause: There is no defined partition to which the partition key is mapped.
* action: Check the definition of the partition in the corresponding table.;
원인 : 파티션키에 매핑되는 파티션테이블이 없을때 나는 에러입니다.
해결 : 파티션테이블을 확인 후 해당 파티션키에 맞는 파티션테이블 추가합니다.
DBA_PART_TABLES 테이블을 확인하여 파티션테이블을 확인합니다.
1.select * from DBA_PART_TABLES
아래는 레인지 파티션 추가하는 명령어입니다.
에러가 발생한 파티션테이블의 파티션키가 데이터 타입은 varchar2이기 때문에 따음표('')의 값으로 추가해주었습니다.
2. alter table [테이블명] add partition [파티션 테이블명] values less than ('20220101');
반응형