Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 11 Feb 2005 @ 01:36:55 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


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



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023