Is it possible to use a local index as a primary key in Oracle, if the table is partitioned?
For example, if the table had columns of A, B, C, D, E, partitioned by A and B, and the desired primary key was on columns A, B, C, D, then can a local index on C, D be used as a primary key?
A local unique index must be prefixed – i.e., the leading columns of the index must be the partitioning key(s). So a unique index would have to be on
(A, B, C, D).