Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Obtain partition count (including non-empty) for PPI and MLPPI tables - forum topic by ljdenning

$
0
0

Client would like to obtain a count of currently defined partitions for PPI and MLPPI tables, including non-empty partitions. SELECT COUNT DISTINCT on PARITITION column only returns a count of non-empty partitions. I did notice the DBC view indexconstraints includes ConstraintText which has the maximum number of partitions in the column value, if one is willing to perform some simple string manipulations. The same is not true for MLPPI. Any way to get a total partition count for a PPI (other than the aforementioned process) or MLPPI table ?

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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