|
|
Archives of the TeradataForum
Message Posted: Thu, 11 Feb 2005 @ 01:36:55 GMT
Subj: | | Re: PPI Number of Columns |
|
From: | | Ballinger, Carrie |
Technically, one or more columns can make up the partitioning expression, if you need a complex partitioning scheme.
I've never seen this in practice, but the example given in the PPI orange book is:
... PRIMARY INDEX (store_number, product_code, sales_date)
PARTITION BY store_number * 1000 + product_code;
Something like this would apply if you had two numeric columns that both had small ranges.
With the more common range_n, you are limited to one partitioning column.
Thanks, - Carrie
| |