Answer the question
In order to leave comments, you need to log in
How to properly change table partitioning in Oracle?
Good afternoon!
Prompt a correct way of change of partitioning.
There is a table in which partitions and subpartitions are created. Partitions and subpartitions are created by list. It is necessary to change partitions and subpartitions for other fields.
For example:
CREATE TABLE TAB1
(
ID VARCHAR2(36 BYTE) NOT NULL,
TYPE VARCHAR2(10 BYTE) NOT NULL,
YEAR VARCHAR2(4 BYTE) NOT NULL
)
PARTITION BY LIST (TYPE)
SUBPARTITION BY LIST (YEAR)
CREATE TABLE TAB1
(
ID VARCHAR2(36 BYTE) NOT NULL,
TYPE VARCHAR2(10 BYTE) NOT NULL,
YEAR VARCHAR2(4 BYTE) NOT NULL
)
PARTITION BY LIST (YEAR)
SUBPARTITION BY LIST (TYPE)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question