Archives of the TeradataForum
Message Posted: Wed, 23 Jul 2008 @ 23:06:04 GMT
| Subj: || || Re: How to identify all multi-column stats |
| From: || || Anomy Anom |
<-- Anonymously Posted: Wed, 23 Jul 2008 17:00 -->
Even if they don't correspond to an index, multi-column stats are in DBC.Indexes.IndexStatistics (where FieldPosition = 1). IndexType M
indicates a dummy entry just for multi-column stats. See also DBC.MultiColumnStats and DBC.IndexStats views.
By the way, single-column stats are not in DBC.Columns. Even if they do correspond to an index, single-column stats are in
DBC.TVFields.FieldStatistics. See also DBC.ColumnStats view.