 |
 |
Archives of the TeradataForum
Message Posted: Tue, 29 Jan 2008 @ 10:45:38 GMT
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)
| |