|
|
Archives of the TeradataForum
Message Posted: Fri, 19 Apr 2002 @ 12:55:34 GMT
Subj: | | Re: DBC.INDEXSTATS |
|
From: | | John Hall |
It's a VIEW that was added with release V2R4.1:
REPLACE VIEW IndexStats
(IndexStatistics, DatabaseNameI, TableNameI,IndexNumber)
AS SELECT DBC.Indexes.IndexStatistics,
DBC.DBASE.DatabaseNameI,
DBC.TVM.TVMNameI,
DBC.Indexes.IndexNumber
FROM DBC.Indexes,
DBC.TVM,
DBC.DBASE
WHERE DBC.TVM.DatabaseID = DBC.DBASE.DatabaseID
AND DBC.Indexes.TableID = DBC.TVM.TVMid
AND DBC.Indexes.IndexStatistics IS NOT NULL;
| |