![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 08 Sep 2011 @ 13:09:35 GMT
<-- Anonymously Posted: Thursday, September 08, 2011 09:06 --> Check if this can help you..
SEL 'COLLECT STATS ON ' || TRIM(DATABASENAME) || '.' || TRIM(TABLENAME) || '
INDEX(' || TRIM(COLUMNNAME) || ');'
FROM DBC.INDICES
WHERE INDEXTYPE='S'
Note: INDEXTYPE-----> 'S' for Sec Index and 'M' for Multi-Column Statistics
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||