Hello Experts, Please help me
I have problem with UPI, i defined UPI has customer_number,order_date.
My questions:
1)Why PPI allows UPI for partition?
2)Here, Why order_date will allow dupulication?
Here is my table
CREATE TABLE Order_Table
(
Order_Number Integer NOT NULL
,Customer_Number Integer NOT NULL
,Order_Date Date
,Order_Total Decimal (10,2)
)
UNIQUE PRIMARY INDEX
(Customer_Number, Order_Date)PARTITION BY Range_N
(Order_Date BETWEEN DATE ‘2013-01-01
AND ‘2013-12-31’
EACH INTERVAL ‘7’ DAY);
Thanks& Regards,
mack
Forums: