Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

PPI - forum topic by macktd

$
0
0

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: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>