Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 29 Jan 2008 @ 10:45:38 GMT


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


Subj:   Best Practice for PPI with single value for month
 
From:   Okell, Alan

If you are looking to partition a table by month, but the table will only contain 1 value for that month (ie the month end date for example), is the best way to implement this still to Partition by Range as per example below, or is there a more optimal solution.

Eg

     PARTITION BY RANGE_N(TXN_DTE
        BETWEEN DATE '2007-01-01' AND DATE '2007-12-31' EACH INTERVAL '1' MONTH)


     
  <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: 27 Dec 2016