Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unique key on range-partitioned table

user5716448Mar 26 2013 — edited Mar 26 2013
Hi,

We are using a composite range-hash interval partitioned table

Uses index - trying to make this have same tablespace as the partitions i.e. local but not liking it

alter table RETAILER_TRANSACTION_COMP_POR
add constraint RETAILER_TRANSACTION_COMP_PK primary key (DWH_NUM)
using index
LOCAL


ora-14039: partitioning columns must form a subset of key columns of a unique index

Without local then fine but doesn't have same tablespace as the partitions and don't want to make this part of partition key.

Tbale range partitioned - this is just a UK to prevent duplicates
This post has been answered by sb92075 on Mar 26 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2013
Added on Mar 26 2013
2 comments
611 views