Partitioning not working need primary key?
Dear All,
We are trying some partitioning as below.
ALTER TABLE tblreceipt PARTITION BY RANGE (MONTH(receiptDate))
(
PARTITION p1 VALUES LESS THAN (TO_DAYS('2012-10-20')),
PARTITION p2 VALUES LESS THAN (TO_DAYS('2012-10-21')),
PARTITION p3 VALUES LESS THAN (TO_DAYS('2012-10-22'))
);
but end up with this Error Code: 1503
A PRIMARY KEY must include all columns in the table's partitioning function
Subject
Views
Written By
Posted
Partitioning not working need primary key?
4582
October 20, 2012 11:12AM
2266
October 22, 2012 07:14AM
1976
October 22, 2012 11:59AM
2018
October 22, 2012 09:37PM
2077
October 23, 2012 08:36AM
1966
October 23, 2012 09:50AM
1998
October 24, 2012 09:05AM
1991
October 24, 2012 09:26PM
1936
October 25, 2012 09:45PM
7392
October 25, 2012 11:22PM
1971
October 27, 2012 07:21AM
1890
October 27, 2012 12:01PM
1850
October 28, 2012 12:10PM
1918
October 28, 2012 02:12PM
1785
October 29, 2012 06:51PM
2013
November 01, 2012 10:55AM
7236
November 02, 2012 12:37AM
1835
November 03, 2012 10:37AM
1881
November 03, 2012 11:37AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.