Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 08 Sep 2011 @ 13:09:35 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Stats Refresh Post Expansion
 
From:   Anomy Anom

<-- 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



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023